[Lazarus] IFDEF Win32 in WINCE widgets

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Fri Feb 15 18:22:22 CET 2008


2008/2/15 zaher dirkey <parmaja at gmail.com>:
> 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



More information about the Lazarus mailing list