hi all, I would like to get a double value in the database record, which is located at the front of record how can I get it? ---------------------------------------
MemHandle recordH, doubleH; MemPtr recordP, doubleP; recordNum = 0; recordH = DmGetRecord(gDB, recordNum); recordP = MemHandleLock(recordH); doubleH = MemHandleNew(sizeof(double)); doubleP = MemHandleLock(doubleH); // is the code above correct ? // how to get the double value using the MemPtr doubleP ? MemHandleUnlock(doubleH); MemHandleUnlock(recordH); DmReleaseRecord(recordH); --------------------------------------- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
