Hi.

I have some string resources.  I use it like this:

MemPtr ptr;
MemHandle h = DmGetResource(...);
if(h) ptr = MemHandleLock(h);
if(ptr) {
  MemHandleUnlock(h);
  DmReleaseResource(h);
}

Now if I use ptr immediately, it seems ok. I got what I want.  How safe is it?

Max

=====
http://www.weirdwww.com/

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

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

Reply via email to