Hi,
The chunk which you receive by DmGetRecord from the AddressDB-Table
includes an
AddrPackedDBRecord.
You will find this probably in file AddressDB.h in the examples folder of
your
PalmOS SDK.
The complete structure of the chunk's data is
1st) the AddrPackedDBRecord, which does not comprise the data fields
themselves
2nd) the data fields themthelves, \0 separated.
You can reference the fields' data by obtaining a pointer to the
AddrPackedDBRecord
and then get the address of the first data field's first character, which
is the Member firstField of
AddrPackedDBRecord.
Concerning the interface question, you can find a discussion point
AdressDB-Interface:
Note my German-English erroneus writing of the word AddressDB, when you
search this
thread ;-).
Dylan Wee Kiat Cheong schrieb:
> Hi,
>
> May I know how do you integrate the built-in Address Book application
> records into another application.
>
> Do you,
>
> 1) Open the address book database and query the records OR
> 2) Is there a better way??
>
> Thanks in advance for any advice rendered
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/