How does one go about getting and setting the database version?
I am getting this far, and getting a bus error when DmDatabaseInfo is called.

JobAppInfo *pAppInfo = NULL;
UInt *version;

if ( DmOpenDatabaseInfo (pDB,&dbID, NULL, NULL, &cardno, NULL ))
{   return dmErrInvalidParam;   }
if ( DmDatabaseInfo ( cardno, dbID,
                        NULL,
                        NULL,
                        version,
                        NULL,
                        NULL,
                        NULL,
                        NULL,
                        &appInfoID,
                        NULL,
                        NULL,
                        NULL ))
        {       return dmErrInvalidParam;       }

If I have NULL in place of version, all is well. I have tried a &version where
version is a UInt, and still no go.

Is it a pointer, a localID, or what?

Derek

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to