Thanks it works. I have just a small problem, it works for all my arrays but not for my char *TabName[100], In this array it's always the same result for each fields of the array(the last one).
Maybe I must allocate memory for this dynamic array, but I don't know how we do in CodeWarrior. Helene > 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/ > ____________________________________________________________ Faites un voeu et puis Voila ! www.voila.fr Avec Voila Mail, consultez vos e-mails sur votre mobile Wap. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
