If &endindex didn't work, then my best guess would be that dbref is not
valid for some reason.  You didn't try to initialize it after a switch
statement but before a case label, did you?  :-)

-- Keith

-----Original Message-----
From: Craig Belson [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 03, 2002 8:34 PM
To: Palm Developer Forum
Subject: semi-newbie question about DmNewRecord...


OK, I've probably looked past this about 12 times
already, but I'm getting a low memory read for no
apparent reason on the following line...

newrecordhandle=DmNewRecord(dbref,ptrtoendindex,sizeofdbrec);

dbref is the DmOpenRef for this particular database,
ptrtoendindex is the UInt16* to a UInt16 called
endindex that is set to, surprise surprise,
dmMaxRecordIndex, and I think sizeofdbrec is pretty
self explanatory.  So is it something easy that I'm
not getting, or do you guys need more of the
surrounding code?

(BTW, I already tried &endindex and that didn't work,
so... *shrug*)

Any help would be much obliged... :-)

-Craig

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to