The DmOpenRef is lost if the application crashes or the device is otherwise
reset.  At this point I then have an open database, and I'm not sure the
best way to close it.  I presume this requires either recovering the
DmOpenRef or modifying the database header.

> -----Original Message-----
> From: George Madrid [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, December 02, 1999 20:06
> To:   [EMAIL PROTECTED]
> Subject:      Re: cleaning up a database that's open
> 
> As obnoxious as this may sound, the "right way" to do this is to avoid
> "losing" the DmOpenRef?
> 
> By the way, I'm curious, how do you "lose" a variable?  What does that
> even
> mean?  
> 
> George
> 
> 
> > From: "Emry, Owen" <[EMAIL PROTECTED]>
> > Reply-To: [EMAIL PROTECTED]
> > Date: Thu, 2 Dec 1999 16:50:05 -0500
> > To: [EMAIL PROTECTED]
> > Subject: cleaning up a database that's open
> > 
> > If I lose the DmOpenRef to a database, how can I close it?
> > 
> > I can find it again using DmFindDatabase, at which point a have a cardNo
> and
> > LocalID, but I can't figure out a way to use those to then _close_ the
> > database, because I need a DmOpenRef for that.
> > 
> > What's the right way to do this?  Thanks in advance...
> > 
> > oge
> > 
> > ----------
> > Owen G. Emry
> > Noblestar Systems Corp.
> > Mobile Computing Practice
> > [EMAIL PROTECTED]
> > 
> > 
> 

Reply via email to