--- Francis Perea wrote:
> Codewarrior says illegal implicit conversion 
> from "unsigned short *" to
> "unsigned short" in the DatabaseInfo call.
> ...
>  LocalID id;  UInt16 card;
> ...
>
err=DmDatabaseInfo(&card,&id,name,NULL,NULL,NULL,NULL,NULL,
  NULL,NULL,NULL,NULL,NULL);

The prototype for DmDatabaseInfo is:

Err DmDatabaseInfo (UInt16 cardNo, LocalID dbID,
Char *nameP, UInt16 *attributesP,
UInt16 *versionP, UInt32 *crDateP,
UInt32 *modDateP, UInt32 *bckUpDateP,
UInt32 *modNumP, LocalID *appInfoIDP,
LocalID *sortInfoIDP, UInt32 *typeP,
UInt32 *creatorP)

Look at the prototype, then look at your call to
DmDatabaseInfo().  Notice anything?  (Focus carefully
on &card and &id.)


__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com

-- 
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