for example,if I insert a record in a database,
UInt regIndex=2;
regHandle=DmNewRecord(dbp,®Index,sizeof(Entrada));
if (regHandle)
{
e.registro=registro;
e.Hc=Hc;
e.Tip=Tip;
entrada=MemHandleLock(regHandle);
DmWrite(entrada,0,&e,sizeof(e));
}
when I want to get the record at index 2 can I use this ?
UInt regIndex=2;
VoidHand reg=DmQueryRecord(dbp,regIndex); --> I get a fatal
exception here
Entrada *e=MemHandleLock(reg);
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/