I have a simple database application. Here is some code.
void newRecord()
{
UInt index = 0;
Myhandle = DmNewRecord(etc, &index,etc);
Mypointer = MemHandleLock(Myhandle);
/../ get appropriate pointers to fields, and text, etc
DmWrite(etc, etc,etc,etc);
MemHandleUnlock(MyHandle)
DmReleaseRecord(ect, etc, true);
}
the above executes OK on untill the application is shut down with a call to
the menu. On the next run at DmNewRecord, I get an error message
"--application just read from low memory."
Does anyone have a clue what is causing this problem and how to fix it?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/