A handle (once unlocked) can be moved around by the OS to defragment memory. A new will get you a pointer but can't be moved. A 'new' is the same as MemPtrNew() I believe....
Ralph ------------------------------------------------------------------------ --------------------------------------------------------------- >> Okay, I've figured out a way to make a simple "constructor" function using >> the memory management functions in the SDK. My questions are: >> >> Is there any benefit to "rolling my own" constructor as opposed to just >> creating a C++ class and using the default "new" method? >> >> Are there any drawbacks to using "new" and "delete" instead of MemHandleNew >> and MemHandleFree? Are they the same functions? >> >> -- >> Jaime Villela >> [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
