Hi -
I stored a record in a database, and when I retreive it, I
get a Fatal Exception from the device and a Unknown m68k
Exception from the emulator.
I'm storing the record as "packed" data, so I use Dm
to write a bunch of values into the data store, being
sure not to write more than what I requested.
When I read the data back, I walk (using sizeof, etc) and
cast the pointer gotten from DmGetRecord and MemHandleLock
to whatever datatype I am using (char* and ULong). But when
I deference the pointer, I get the exceptions. When I look
in memory at where the pointer references, all the data is
there. It is valid.
Any ideas what's going wrong? When I cast to a char* and
do a StrCopy, that works. But after I walk to the ULong
and cast the address to a ULong* and then derefernce it,
that's when it dies. Thanks.
-Steven