I'm getting a blank error using the palmIII debug rom when the following
code hits MemHandleUnlock.
static void DrawBusyIcon(void)
{
VoidHand bmp_handle;
BitmapType* bmp;
bmp_handle = DmGetResource('Tbmp', HourglassBitmapFamily);
if (bmp_handle != NULL) {
bmp = (BitmapType*) MemHandleLock(bmp_handle);
if (bmp) {
WinDrawBitmap(bmp, 71, 66);
MemHandleUnlock(bmp_handle);
}
DmReleaseResource(bmp_handle);
}
}
If I run it on the emulator without debugging, I get a bus error and that's
all it says and I have to reset.
Anyone have a clue why this isn't working? I don't get the error on other
debug roms.
Also, can someone tell me what's on line 4192 of SystemMgr.c? I don't have
the file and I don't have time to send in for the source code before this is
supposed to be tested. I'm getting a UIAppShell error on that line that
says I may have a mem leak, but I can't find any possible leak.
Thanks
Jason Henderson
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/