I know how to retrieve the version by putting &version in the argument list. 
The problem is with either NULL or &version in that position - the simulator 
crashes.

I can't see what I am doing wrong.

Any other suggestions?

Steven

"steve p" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> 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