I found the problem ... I didn't use the LocalID type to get the index, I thought an Int16 would work ... it doesn't.

ernie

ernie nichols wrote:
I do a DMFindDatabase to get an index and if nonzero I do a DmDeleteDatabse using the index ... get a fatal error with following stack trace:

#0  0x10c1d4c0 in DmOpenDBNoOverlay ()
#1  0x10c1be0c in DmDeleteDatabase ()
#2  0x000ac776 in StoresFormHandleEvent (e=0x3d250) at AisleGuide.c:1225
#3  0x10c65e64 in PrvSendEventToForm ()
#4  0x10c697f8 in FrmDispatchEvent ()
#5  0x000af918 in EventLoop () at AisleGuide.c:2446
#6  0x000af960 in PilotMain (cmd=0, cmdPBP=0x0, launchFlags=142)
    at AisleGuide.c:2462
#7  0x000a9960 in start () at crt0.c:69

I know the database is present from nonzero index ... what's with the Overlay routine and why can't I delete the database? ... database is not open either.

I'm using POSE 3.5 with PalmOS35 -english debug.

thanks
    ernie




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

Reply via email to