Hi!

See... the problem is that I have written a palm bitmap reader on the desktop and it reads the PRC tBmp resources directly and it displays the v1, v2 and v3 bitmaps correctly... but it does not display v3 bitmap where flags.indirect = true, the scan lines are all scrambled...

any ideas?

If you transfer an indirect bitmap from the device to the desktop, then you are in trouble. The pointer to the bitmap bits is pointing to memory somewhere in your device and that part of the memory is probably not being transferred to the desktop. I suggest you make a copy of the bitmap where you append the bitmap bits right after the header and reset the indirect flag. Then transfer that to the desktop.

Tilo

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to