On Mon, 26 Nov 2001, Michael Glickman wrote:

> As far I remember, this is almost exact replication from PalmOS
> reference guide. 

It's always worked for me, and is the simplest/cleanest way to do it that
I can tell.

> It really looks safe, but it means that you relocate memory all the
> time, that might result in heap fragmentation. Wouldn't it be better to
> free old handle before getting the new one, given that you don't use its
> content ? 

Don't see why you couldn't, but since the heap areas can be moved around
at will by the OS is that really an issue?

----------------------------------------------------------------------
Brian Smith  //   [EMAIL PROTECTED]   //  http://www.arthurian.nu/
Software Developer  //  Gamer  //  Webmaster  //  System Administrator
Echelon Teasers: NSA CIA FBI Mossad MI5 Cocaine Cuba Revolution Espionage



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