DmGetAppInfoID returns me 0 with an existing DmOpenRef what is wrong?
I have the following code:
LocalID dbID;
Char name[dmDBNameLength];R
ErrFatalDisplayIf(BdPreg==0,"BdPreg uninitialiced");
dbID=DmGetAppInfoID(BdPreg);
after this dbID=0 and when I do:
DmDatabaseInfo(0,dbID,name,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
it gives me a big error.
BdPreg is opened elsewhere and is != 0.
I read the documentation but It doesn't say anything helpful, and I've
found nothing in the news:
DmGetAppInfoID
Purpose: Return the local ID of the application info block.
Prototype: LocalID DmGetAppInfoID (DmOpenRef dbP).
Parameters: -> dbP Database access pointer.
Result: Returns local ID of the application info block.
See Also: DmDatabaseInfo, DmOpenDatabase
I'm programming for PalmOS 3.1
please help
thanks.
Ingo Claro Fox
[EMAIL PROTECTED]
----------
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/