At 14:46 2003-2-12 -0800, you wrote:
I'm sure this has been mentioned before, but what is the preffered method to
allocate memory (CW9)?
In both CodeWarrior and prc-tools, new calls MemPtrNew to allocate memory. There should be no difference in actual allocations between these two methods. If you are concerned about fragmentation, you might want to use memory handles for anything big, with the caveat that you can't store a pointer to a locked handle, since it can and will change when you unlock it.
--

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