"Leandro Ferreira" <[EMAIL PROTECTED]> writes:

> When I use MemPtrNew(), the OS could move this point on memory
> defragmentation or is safe to the program make reference ALWAYS to that
> address?

MemPtrNew returns a locked memory pointer, which means it is impervious
to defragmentation. Once it's locked, it remains locked (and potentially
fragmenting the heap) for the life of the program.

-- 
Dave Carrigan ([EMAIL PROTECTED])            | Yow! I'LL get it!!  It's
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | probably a FEW of my ITALIAN
Seattle, WA, USA                            | GIRL-FRIENDS!!
http://www.rudedog.org/                     | 

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