On Mon, 19 Nov 2001, [EMAIL PROTECTED] wrote:

> For example, I have the cardNo and the dbID(I think) but after I can't
> have the name.
> 
> char *Name=NULL;
> 
> DmDatabaseInfo(cardNo,dbID,Name,NULL,NULL,NULL,NULL,
> NULL,NULL,NULL,NULL,&Type,&Creator);

You need to pass DmDatabaseInfo a pointer to memory (at least 32 bytes I
think--don't have the API manual handy) where it should write the name;
you're passing it a NULL pointer so it doesn't do anything.

Jake


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

Reply via email to