To write to the other Palm applications' databases one must include the db
header and link in the db module into one's source.  So for the address
book, you would have to include AddressDB.h and link in AddressDB.c.  This
gives you access to that app's database.  This is the best way to ensure
that you don't mess up that application's database as you are using exactly
as it does.  Unfortunately, you are duplicating code....

Kevin

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 28, 1999 10:01 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Linking to Address Book.
> 
> 
> I am doing the same thing. I don't think you can get away 
> from duplicating
> some functionality. As long as your not writing your own 
> version of Address
> Book, it probably isn't much.
> Since the source for the Address Book ships with the 
> Metrowerks SDK, you can
> use it as a guide for writing your own code to talk to the 
> AddressBookDB,
> and interepreting the records should be simple.
> �
> Phil
> 
> -----Original Message-----
> From: Combar, Curt [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 28, 1999 12:39 AM
> To: 'Palm Developers Forum List'
> Subject: Linking to Address Book.
> 
> 
> 
> I am developing an application which contains a reference to 
> a contact in 
> each record.� Is there a way to link to the Address Book to 
> Add/Select a 
> record so that I don't have to duplicate the Address Book 
> functionality or 
> waste database space?� Thanks, 
> 
> Curt Combar 
> 
> 

Reply via email to