That was it, thanks Steve!

"McMicken, Steven" <[EMAIL PROTECTED]> wrote in message
news:7504@palm-dev-forum...
>
> DmFindDatabase returns type LocalID, which I believe is defined as a
DWord,
> not an int.  Your problem may be there.
>
> Regards,
>
> Steve
>
> -----Original Message-----
> From: Al Macy [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 07, 2000 3:10 PM
> To: Palm Developer Forum
> Subject: ?Unable to DmDeleteDatabase - get MemoryMgr Free Handle error
>
>
> I need to delete obsolete versions of my database.  However, in POSE, when
I
> call DmDeleteDatabase()  I get an error message:
>
>     ...reports: MemoryMgr.c Line 4359 Free Handle
>
> Followed by a few other errors and a need to reset.  When deleting a
> different database, I get a "bus error".
>
>             int DatabaseID = DmFindDatabase(cardNo, TimeLogDBName);
>             ASSERT(DatabaseID);
>             int Result = DmDeleteDatabase(cardNo, DatabaseID);
>             ASSERT(SUCCESS == Result);
>
> Is there something else I need to do to delete a database?
>
> Thanks,
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palm.com/devzone/mailinglists.html
>
>



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

Reply via email to