Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-02

IFDEF Win32 in WINCE widgets

8 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Felipe Monteiro de Carvalho
to zaher dirkey

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.

Felipe Monteiro de Carvalho

Reply by email

Vincent Snijders
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote 8 lines
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?. 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

Reply by email

zaher dirkey
to Vincent Snijders

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

Reply by email

Felipe Monteiro de Carvalho
to zaher dirkey

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)

Felipe Monteiro de Carvalho

Reply by email

zaher dirkey
to Felipe Monteiro de Carvalho

Ah that is deferent, Thanks.

On Fri, Feb 15, 2008 at 11:39 PM, Felipe Monteiro de Carvalho <

Show quoted text 11 lines
wrote: Try with the links and instructions on the wiki. -- Felipe Monteiro de Carvalho _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
Zaher Dirkey -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080216/9c12c005/attachment.html

Reply by email