You have to do a DmGetRecord instead of DmQueryRecord.

Manu


----- Original Message -----
From: "John Lai" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, February 12, 2004 10:33 AM
Subject: read record (problem not solved)


> Hi all, I really need your help. How do I read a record just containing 2
> strings with variable-length.
>
> For example, if the record is "string 1\x00string 2\x00", how do I extract
> the 2 strings.
>
> MemHandle recordH = DmQueryRecord(dbP, index);
> // ...don't know how to write at this point
> MemHandleUnlock(recordH);
>
> Thanks.
>
> _________________________________________________________________
> Linguaphone :  Learning English? Get Japanese lessons for FREE
> http://go.msnserver.com/HK/30476.asp
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>
> --
> Este mensaje ha sido analizado por DeMonteGrande.com.ar MailScanner
> en busca de virus y otros contenidos peligrosos, y se considera que
> est� limpio.


-- 
Este mensaje ha sido analizado por DeMonteGrande.com.ar MailScanner
en busca de virus y otros contenidos peligrosos, y se considera que
est� limpio.


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

Reply via email to