Recent

Author Topic: Easy way to test FreePascal & fpGUI on WinCE  (Read 41520 times)

Paul Breneman

  • Sr. Member
  • ****
  • Posts: 290
    • Control Pascal
Easy way to test FreePascal & fpGUI on WinCE
« on: January 28, 2010, 01:35:45 am »
There is a new (initial) TurboControl minimal distribution of the FreePascal 2.4.0 WinCE cross-compiler and fpGUI (patched by me) here:
http://www.turbocontrol.com/helloworld.htm

This works for me on a WinCE 4.2 device - a Motorola Symbol MC1000 barcode scanner.

The fpGUI code patch is my initial hack and has several problems:
- No title bar for the program
- Only a single form at the moment

It took me a bit of work to get this far.  I hope other programmers (better than myself) can now take this much further.

Enjoy!
Regards,
Paul Breneman
www.ControlPascal.com

Graeme

  • Hero Member
  • *****
  • Posts: 1428
    • Graeme on the web
Re: Easy way to test FreePascal & fpGUI on WinCE
« Reply #1 on: January 28, 2010, 05:35:39 pm »
Excellent work Paul!

I'll commit your changes to the fpGUI repository over the weekend. Sorry for the delay on doing that.

As I mentioned in private email before. I got your code working here without major issues and tested some applications on my Garmin iQue M5 (and I have a titlebar too).
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

Paul Breneman

  • Sr. Member
  • ****
  • Posts: 290
    • Control Pascal
Re: Easy way to test FreePascal & fpGUI on WinCE
« Reply #2 on: January 28, 2010, 08:01:20 pm »
Thanks Graeme.

My only WinCE device right now is the MC1000 barcode scanner and it just has a 240x240 monochrome screen (no touch) and some keys so it is difficult for me to test very much.

It is probably junk (no iPad) but KMart is selling the Delstar DS700 7 in. Ultra Portable Netbook for $150 in the US and it runs WinCE.

Here is what I'd really like to try with FPC and fpGUI:
  http://www.cubloc.com/product/05_02cw3200.php
I've used other embedded touchscreen controllers from the same company in the past so I've suggested in their forum (where many people use Basic) to try FPC and fpGUI:
  http://cubloc.com/phpBB3/viewforum.php?f=2

I've been using FPC and fpGUI on this:
  http://www.embeddedarm.com/products/board-detail.php?product=TS-TPC-7390

http://wiseslap.sourceforge.net/ - something related?

Now if we could add DirectFB support to fpGUI to make things work better on these low-powered systems...

As a minimalist embedded engineer it is interesting to see FPC and fpGUI mature and see how low I can go...
Regards,
Paul Breneman
www.ControlPascal.com

Graeme

  • Hero Member
  • *****
  • Posts: 1428
    • Graeme on the web
Re: Easy way to test FreePascal & fpGUI on WinCE
« Reply #3 on: January 28, 2010, 10:20:13 pm »
Now if we could add DirectFB support to fpGUI to make things work better on these low-powered systems...
DirectFB support is already on my radar. I have been wanted to add DirectFB support for ages, but I needed to implement more of the normal "desktop" widgets/features first. Those included more common components, dialogs, a help format and help viewer, installation program, etc.. Most of those are already done or very near completion.  :)
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

 

TinyPortal © 2005-2018