At 05:39 AM 5/31/99 +0100, you wrote:
>I'm using a Palm III, 2MB, OS 3.0 and my application is crashing when
>allocating memory using MemPtrNew - I get errors such as "Bus error
>exception at 0x10c1345e (PrvChunkNew)".
Further testing shows that MemHeapFreeBytes is also failing - "Bus error
exception at 0x10c11694 (MemHeapFreeBytes)". I'm calling it as follows:
ULong freebytes, maxbytes;
MemHeapFreeBytes(0, &freebytes, &maxbytes);
As I mentioned in a previous posting, I've blindly enabled the "Large" code
model recently, but I can't see this causing my errors?
Continued apologies for the flood of questions,
Paul Gargan.