In the open event I have:

err =DmDatabaseInfo(cardNo,dbID, CurrentLogName,NULL,NULL,NULL,
NULL,NULL,NULL,&LogHeaderID,NULL,NULL,NULL);
   ErrFatalDisplayIf(err, "Could not get Header info.");

   pLogHeader = (LogHeader*)MemLocalIDToLockedPtr(LogHeaderID,cardNo);


What would I use to free pLogHeader ?
I currently have:
MemPtrUnlock (pLogHeader);

Is this OK?

I'm getting an error saying "Records left locked in closed unprotected DB"
when I close the DB.  But I only use DmQueryRecord to read the records. I
don't get it.

TIA,
Mike



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

Reply via email to