So, I need to memlock a handle to a code resource which is in a prc.  This
memory ptr needs to persist across applications.  My question is:  should I
copy the code resource into dynamic memory, lock it, and set its owner to
the OS, or should I lock it in storage memory where it lives?

It seems that I should prefer the storage memory route since 1) there is
more storage memory than dynamic memory and 2) the fragmentation issues that
arise when locking handles in dynamic memory.

Are there other pros and cons that I'm missing here?

Thanx!


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