Re: Error when copying a record

2003-12-22 Thread Dave Lasker
You can't write to the storage heap directly. You have to use the DmXXX functions. Try this: DmWrite(buffer, 0, origBuffer, size); Dave "Richard Coutts" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > CW 8.3 > > I'm trying to copy a record, byte-for-byte and am getting the acce

Error when copying a record

2003-12-22 Thread Richard Coutts
CW 8.3 I'm trying to copy a record, byte-for-byte and am getting the access error: "MyApp just wrote to memory location 0x00055202, which is in the storage heap. In order to protect the integrity of the storage data, such direct access is not allowed. Instead, applications should use special