> > MemHandle strH = MemHandleNew (maxSrtIToALen); > > str = MemHandleLock (strH); > > // something with str; > > //No MemPtrUnlock (str); > > //instead > > MemHandeUnlock (strH);
As a side note, O'Reilly's "Palm Programming: The Developer's Guide" says that that MemHandleUnlock underneath does a MemPtrUnlock, thus making the latter call slightly faster.... __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
