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?

SWP



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to