[fpc-pascal] fpGUI Toolkit on WinCE

Adrian Veith adrian at veith-system.de
Tue Mar 16 11:22:27 CET 2010


Am 16.03.2010 10:45, schrieb Matt Emson:
> Adrian Veith wrote:
>> ..the bitmaps look scrambled and have different colors.
>> I haven't found the solution for this yet.
> Ignore that last message. It seems WinCE is only ever little endian.
> So it is probably more to do with DIB vs general device dependent
> Bitmaps. Have you tried converting the bitmap in question to a DIB?
>

I am so far that I found that the procedure SetDIBits is not supported
on WinCE (that's why it is commented out in the WinCE build). So the
Bitmap is not initialized with the data loaded from the file and shows
random crap.

I have to find  way how to initialize the bitmap without SetDIBits (and
in a efficient way).

Adrian.



More information about the fpc-pascal mailing list