steve p wrote:
This little snippit crashes each time I try to use it:
Char fname[25]; UInt16 dbID; Err err; StrCopy(fname, "PEL-Template"); dbID = DmFindDatabase(0, fname);
if (dbID) { err = DmDatabaseInfo (0, dbID, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); }
Stepping thru the debugger, it crashes on DmDatabaseInfo. What am I doing wrong??
I am really tring to get the version number but could not get that back and thought I would try passing NULL for all of the parameters.
Can someone help?
UInt16 version;
DmDatabaseInfo(cardNo, dbID, NULL, NULL, &version, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
wasn't that hard, or?
Regards Henk
-- ------------------------------------------------------------------------- Henk Jonas Palm OS � certified developer
[EMAIL PROTECTED] www.metaviewsoft.de -------------------------------------------------------------------------
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
