Bob Whiteman <[EMAIL PROTECTED]> wrote in message news:74827@palm-dev-forum...
> It is my understanding that if you use MemHandleFree() with MemHandleNew()
> things go smoothly. The same is true if you use MemPtrFree() with
> MemPtrNew(). But if you use MemPtrFree() with MemHandleNew() the OS has to
> call MemPtrRecoverHandle() and then call MemHandleFree() for you. It still
> works but it takes more time.

Wow ! That's great. But I never managed to retrieve the handle using
MemPtrRecoverHandle
when the memory was created using "MemPtrNew()". Is there any other command
whereby
I could retrieve ?

> Actually, I never use MemHandleNew(). If I'm going to bother making a
handle
> I allocate it in database memory using DmNewHandle(), passing in the

The problem that I encounter using "MemPtrNew()" is that it doesn't allow
me to resize (increase) the memory size using "MemPtrResize()". Thus, I have
to use "MemHandleNew()" instead. Is there work around ?

Thanks for all comments ! It's very enriching.

Best Regards
Andy




-- 
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