"Ian Alston" <[EMAIL PROTECTED]> on 27-09-2000 03:11:54 PM
Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
cc: (bcc: Singh Krishna-SWD-ITIL-UB/Itilmail)
Subject: Writing to UIntPtr
> you are writing to apointer without allocating memory to it.
> allocate memory to recIds :
> UIntPtr recIds = MemPtrNew(MAX_NO);
> UInt numRecords;
> UInt Index;
> recIds[numRecords]= Index;
Guys,
Is there any other way to write to a dynamic array of integers other
than:
UIntPtr recIds;
UInt numRecords;
UInt Index;
recIds[numRecords]= Index;
as this causes a fault in POSE "...has just written directly to memory
manager data structures".
Regs Ian
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/