Ok, my code compiles fine but when I try it on the palm and save then it gives me a
fatal error about saving the database so I tried going back and unlocking the memory
handle and now when I try it it gives me a soft reset, before it gave me a hard reset.
So what am I doing wrong here? Thanks!
myRecordHandle=DmNewRecord(gDb, &RecordIndex,RecordSize);
//newRecordPtr=MemHandleLock(myRecordHandle);
newRecordPtr=(OurStruct *)
MemHandleLock(myRecordHandle);
newRecordPtr->itemnum=Serial;
MemHandleUnlock(myRecordHandle);
FrmAlert(SaveAlert);
FrmGotoForm(MainForm);
WinEraseWindow();
GOD Bless!!!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/