At 08:13 AM 9/3/2002 +0200, you wrote:
> > DmGetResource should be matched with DmReleaseResource. I haven't looked at
> > the address app code, but maybe you haven't looked hard enough.
>
>download the OS source code - you'll see why it isn't there :)
>
>the API's are from mac days, but, on the palmos as it is right now,
>DmReleaseResource() is actually an empty function. although one may
>think it is good to call it, you actually dont need to.

I wonder if that's entirely true... there are several system hacks for 
VFS-equipped systems that let programs be paged into memory 
part-by-part.  If you were using one of those, I think its entirely 
possible that DmReleaseResource would tell the hack that a resource wasn't 
being used anymore, so it could free the memory it was using.  That would 
be an immediate benefit of making this call.

-- 
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com


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

Reply via email to