Can you reduce this to a small, *complete* snippet that demonstrates the
problem?

-- Keith Rollin
-- Palm OS Emulator engineer






"Randall Pulsifer" <[EMAIL PROTECTED]> on 03/20/99 09:32:11 AM

Please respond to [EMAIL PROTECTED]

To:   "Palm Developers Forum List" <[EMAIL PROTECTED]>
cc:    (Keith Rollin/HQ/3Com)
Subject:  DmNewRecord writes to Low mem?




The following snippet always generates a write to low memory error on the
DmNewRecord statement on POSE  (b26) with debug 3.0 ROMs.
I've kept careful watch over the dmOpenRef (VitalSignsDB) and the RecSize
(=94) and they have not been corrupted. What type of
things should I be looking for??
.
.
.
RecSize =  MostoftheStruc + NoteLength;
 // Get a new record of the proper size
 NewRecord = DmNewRecord(VitalSignsDB,0,RecSize);
 FOTptr = MemHandleLock(NewRecord);
 //write out the two parts
 DmWrite (FOTptr,0,&WorkingFieldObs,MostoftheStruc);
.
.
. Thanks
Randy P
Pulse Data Systems









Reply via email to