I noticed in last update of SVN there is {I$FDEF Win32} in WINCE widgets, what for, and what the idea?.
Thanks

Mailing lists / lazarus / 2008-02
8 messages · 3 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
I noticed in last update of SVN there is {I$FDEF Win32} in WINCE widgets, what for, and what the idea?.
Thanks
2008/2/15 zaher dirkey :
I noticed in last update of SVN there is {I$FDEF Win32} in WINCE widgets, what for, and what the idea?.
Debugging problems is too slow using the emulator. You have to build the file, load the emulator, test it and the quit the emulator again (can't change the .exe with the emulator on).
With minimal changes I got it working under win32, so testing can get much faster. The revision that did that may seam huge, but I used the oportunity to also start adding unicode support, so one needs to take that into consideration.
The wince is to a great extent a copy of the win32 interface. It's also useful if we need to determine if a problem is caused by a difference between win32 and wince or if our code on wince is simply wrong everywhere.
I already found and fixed some things by making this work, so I think it was already victorious =)
Having said that: Building apps with wince-win32 is not supported. Building wince-win32 is just a debugging tool for the wince interface.
I guess you mean win32-wince (like linux-qt, first OS then widget set).
Vincent
I think you mean debug Lazarus WINCE widget, not a a project using Lazarus? Because i debug my project as Win32 then compile it to WinCE
I asked because i installed Windows CE 5.0 emulator, but i found it is not ARM, it is a i486 and by project for ARM not worked, but for Win32 crached, that (as i guess) i must build my project for WinCE-i386, is that correct?.
Thanks
Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080215/fb767dd7/attachment.html
2008/2/15 zaher dirkey :
I think you mean debug Lazarus WINCE widget, not a a project using Lazarus?
yes, that's what I meant.
I asked because i installed Windows CE 5.0 emulator, but i found it is not ARM, it is a i486 and by project for ARM not worked, but for Win32 crached, that (as i guess) i must build my project for WinCE-i386, is that correct?.
No, it's false. The only emulator available is arm. It's all documented:
http://wiki.lazarus.freepascal.org/Windows_CE_Interface#Using_the_add-on_installer
http://wiki.lazarus.freepascal.org/Windows_CE_Interface#Installing_and_Using_the_Pocked_PC_Emulator
My arm-wince-wince (architecture - operating system - widgetset) projects work normally on the emulator.
If you are using subversion Lazarus you need FPC 2.2.1+ which you need to build manually (again, instructions on the wiki)
I Downloaded Windows CE Emulator
I test my project in "I-Mate K-Jam, WM5" and "Casio It-600" Windows CE 5.0and Worked Find.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080215/10a03c76/attachment.html
Try with the links and instructions on the wiki.
Ah that is deferent, Thanks.
On Fri, Feb 15, 2008 at 11:39 PM, Felipe Monteiro de Carvalho <