> I need to have quick access to 32k of data (bytes). Speed is critical, so I
> would like to access the memory directly.
>
> I can't use the Dynamic memory, since 32k is too large, so I need to use a
> record/ resource.
>
> I've created a resource, and I can read the information directly, but
> whenever I try to write to the resource, I get an error.
>
> Can anyone help me with removing the write protection on a resource, or with
> another way to do what I want?
>
If you're writing to a database record, you have to use DmWrite (and
company), which handles unlocking/relocking the record and does some
bounds-checking to make sure you don't run off the end of the record. To
protect the user's data, there is no supported way to write directly to the
memory which represents a database record.
--
Dan Rowley
Innovative Computer Solutions
Developers of fine software for Newton, Windows CE, Palm Computing Platform,
Windows, and MacOS