I get POSE warning messages about accessing low memory or directly
reading from memory manager structures repeatedly when dealing with
lists.
I never took the time to look up the list handling code in the ROM
sources but I'd suspect the problem, if any, is somewhere in the OS, not
in your code. As another example, CtlSetLabel sometimes generates such a
POSE warning even if you use a static string or a MemPtrNew pointer.
Maybe POSE is just a bit over-eagerly with these warnings.

Andreas

>Date: 23 Jun 1999 12:52:03 -0700
>From: [EMAIL PROTECTED]
>Subject: RE: accessing from low memory

>The code as James posted looks fine to me (at least with
>regards to whether or
>not it should be generating a low-memory access error -- I
>leave it to wiser
>people to determine whether or not LstGetSelectionText is
>being called in the
>Zen of Palm OS sense). I can only suppose that "something
>else" is going on.
>For
>instance, if "listptr" were NULL, you'd get that error message.
>
>- -----Original Message-----
>From: Colletti, James E [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, June 23, 1999 7:26 AM
>To: [EMAIL PROTECTED]
>Subject: accessing from low memory

>StructTest  Thestructure;
> Thestructure.data = LstGetSelectionText(listptr, 0);
>
>Before I even get to write this structure to the record,
>POSE states I am
>trying to access data from low memory.  What does this mean?

Reply via email to