hi all,

I have no problem retrieve integers, but when I deal with array[]
(integers), I have no idea how to do


typedef struct {
         Int16    *array;
         // ....  other stuff
}    Path;

static readFunction() {
// .... strip
Path    *path

recordH = DmQueryRecord(gDB, recordNum);     //Read the record
path = MemHandleLock(recordH);

arr = path->array                    // here is the problem

MemHandleUnlock(recordH);

}


I get the value of the first array value but no more.
I also try to use other methods such as
path->arrayX = MemPtrNew(sizeof(Int16));
to try to get one array value at a time, but failed
I really don't know how to get array values
can anyone tell me how the codes should be?
Thanks.




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

Reply via email to