Eek
March 26th, 2003, 08:21 AM
hi........anyone here knows about C++ programming for Palm OS (Code Warrior)???........I have just started to learn about it.......now I am particularly focus on the database construction in Code Warrior........here's how it looks like:
#define CREATORID 'john_Woo'
#define DBTYPE 'Data'
#define DBNAME 'my_Data'
Err err = DmCreateDatabase( 0, DBNAME, CREATORID, DBTYPE, false );
when I compile it I got this error:
"error: illegal implicit conversion from 'unsigned long long' to 'const char *'"
this error appears to be from the last parameter I passed into the DmCreateDatabase(). Since the Code Warrior 8.0 didn't provide me any syntax references towards all the syntaxes used in Palm OS programming..........so if anyone can help me with this I would be much more appreciated.....thanks
#define CREATORID 'john_Woo'
#define DBTYPE 'Data'
#define DBNAME 'my_Data'
Err err = DmCreateDatabase( 0, DBNAME, CREATORID, DBTYPE, false );
when I compile it I got this error:
"error: illegal implicit conversion from 'unsigned long long' to 'const char *'"
this error appears to be from the last parameter I passed into the DmCreateDatabase(). Since the Code Warrior 8.0 didn't provide me any syntax references towards all the syntaxes used in Palm OS programming..........so if anyone can help me with this I would be much more appreciated.....thanks