How do I figure out what my Application's local ID is?????
I'm supposed to pass it to AlmSetAlarm but don't know what it is!
The docs go out of there way to stress that this is NOT the DB local
ID but the application's local ID. They go on to confuse me by providing
me with an example code snippet as follows:
DmGetNextDatabaseByTypeCreator (true,&searchInfo,sysFileTApplication,
sysFileCDatebook, true,&cardNo, &dbID);
AlmSetAlarm (cardNo, dbID, ref, alarmTime,true);
The docs for DmGetNextDatabaseByTypeCreator ( a database related function) describe the
last parameter as "<- dbIDP Database local ID of the found database."
So I don't get it! So I read some more and found a function called "DmGetAppInfoID"
which
sounded appropriate but it requires a pointer to an open DATABASE!!!!!
Can someone explain to me :
1) How do I get my application's local ID?
2) What is this weird connection between databases and applications? It seems like I
MUST have a DB in order to access my application's local ID! But that can't be write!
Thanks!
Dan
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/