This is what I have so far: MemHandle bmphandle = DmGetResource(((UInt32)'T'<<24)|((UInt32)'B'<<16)|((UInt32)'M'<<8)|(UInt32)('P'),1000); MemPtr *bmpptr; bmpptr = MemHandleLock( bmphandle ); WinDrawBitmap( (BitmapType *)bmpptr, 50, 50 );
I got that DmGetResource line from the zodiacgamer forums... But I'm not sure if my bitmap is of the "TBMP" type. And when it gets to the MemHandleLock line, it gives this error: ANSI C++ forbids implicit conversion from `void *' in assignment So I looked up the MemHandle function, and it says that it returns NULL if there's an error. I'm pretty sure the error's coming from that TBMP thing. How can i get the right "type" of my bitmap? Thanks! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/