> This code when I look at the bitmap is corrupted. The signature is just a set > of random lines.
well, are you converting the bitmap bits to a valid .bmp or other image format? if not, how are you supposed to know how to open the bitmap on the desktop? bitmapBits = BmpRsrcGetBits(bitmapP) gives you raw access to the bits - being the format it is encoded in (1,2,4,8 or 16bit) DmWrite(newResourceP, 0, bitmapBits, MemPtrSize(bitmapBits)) avoid MemPtrSize() - why not use BmpRsrcGetBitsSize() - i am sure there is an API to do exactly that. --- Aaron Ardiri PalmOS Certified Developer [EMAIL PROTECTED] http://www.mobilewizardry.com/members/aaron_ardiri.php -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
