I have playback that I need to continue after the control is switched to
another app. To do so I prevent my app code from being unloaded

 MemHandle codeH;
 codeH = DmGetResource('code', 1);
 if(codeH != NULL)
{
    MemHandleSetOwner(codeH, 0);
    MemHandleLock(codeH);
    DmReleaseResource(codeH);
}

DmGetResource succeeds on all Palm OPS 5 devices but code is unloaded on
Tungsten T but remains in memory on Zire. Does anyone know why it is
unloaded on Tungsten and what I can do to prevent code from unloading on
Tungsten



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

Reply via email to