Right ... but I don't have the actual pointer.  All I have is an address of
a location (actually a pointer to a string) somewhere within the chunk.  If
there was a function call to get the pointer to the chunk by passing the
address of the string, I could use MemHandleRecoverPtr and everything would
be hunkey-dorey.

This all came about because of 4.0's change to restrict tAIS usage to
"system" type stuff.  It used to be that I could use the address of the
first tAIS entry to also be the address of the chunk.  Can't do that with a
tSTL, because they have that stupid prefix string in front of the first
entry, as well as an int for the count of entries.

"James Nicholls" <[EMAIL PROTECTED]> wrote in message
news:52200@palm-dev-forum...
>
> MemPtrRecoverHandle recovers the handle of a chunk given its pointer.
>
> Cheers,
> James.




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