I'm having a strange problem, the following code (simplified for demo purposes) works under Simulators 5.0-5.2, but under Simulator 5.3 I get an Application Error "The instruction at 0x0177af09 referenced memory at 0x6a063cfd. The memory could not be read." while executing the WinDrawBitmap line. With the Tungsten E and T|3 devices I get a crash (all other tested devices and Emulator Debug ROMs work as expected):
MemHandle hRsc = DmGet1Resource(iconType, 1000); BitmapType* bitmapP = (BitmapType*) MemHandleLock(hRsc); WinDrawBitmap(bitmapP, topLeftCoordX, topLeftCoordY); MemHandleUnlock(hRsc); DmReleaseResource(hRsc); If I change the first line to: MemHandle hRsc = DmGet1Resource(iconType, 1001); It shows the small Icon. I can't seem to display the normal one. Any clues? Thanks! -- Roberto Machorro [EMAIL PROTECTED] http://machorro.net/roberto -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
