>> > 
>> > POSE Error: "...directly read from data manager data structure.."
>> >
>> >
>>     Is it possible that the string pointed to by RecPointer is not
>> null-terminated?  This would cause StrCopy to traipse off the end of the
>> record and into the next record header, triggering a datamgr read error..
>> Or, perhaps the record pointed to by RecPtr isn't even 3 chars long?
>
> A couple of people have suggested this.  But the error seems to
> indicate that _any_ "direct reading of the Memory Manager Data
> Sturcuture" would generate this error.  It did not say anything about
> reading past anything.
>
> I'm not even sure that the code fragment is the source of the error.
> I am just wondering:
>
> 1) what the error specifically means and
> 2) what can cause it.
>
>
    If another allocated memory block exists just past the end of your
block, then reading off the end of your block would cause this error
(because you walk off the end of your block into the header of the next).
Most times I've had this error, it's been because I've read off one end or
the other of a memory chunk..



--
Dan Rowley
Innovative Computer Solutions
Developers of fine software for Newton, Windows CE, Palm Computing Platform,
Windows, and MacOS

Reply via email to