Just a quick guess, but I would not return true when handling the
appStopEvent.  The system needs to handle this event, also.

Regards,

Steve

-----Original Message-----
From: Haagensen, Brandt [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 18, 2000 4:51 PM
To: Palm Developer Forum
Subject: UIAppShell reports unprotected DB question again


I run a hello palm program in a debug emulator and everything works fine. I
am running codewarrior 6 with the 3.5SDK. I am using a PalmVII EZ rom for
the emulator. During the emulation session I click on the Applications
button and I get several errors/warnings. 
The first is
 "UIAppShell" (unknown version) reports "DataMgr.c, Line 2499, Records left
locked in closed and unprotected DB". If this is the latest version of
"UIAppShell", please report this to the application author. 
I do have the 3.5 SDK installed. I am not opening or closing any databases,
in fact I am doing nothing in this app except displaying the main form
(which has nothing on it. In my mainformeventhandler I do the following: 
Boolean MainFormEventHandler (EventPtr eventP) 
{ 
   Boolean handled = false; 
   switch(eventP->eType) 
   { 
      case frmOpenEvent: 
      { 
      FormPtr formP = FrmGetActiveForm(); 
      MainFormInit(formP); 
      FrmDrawForm(formP); 
      handled = true;
      break; 
      } 
      case appStopEvent: 
      { 
      FrmCloseAllForms();
      handled = true; 
      break;
      } 
      default:
      break; 
   }
 return handled; 
} 

Any ideas would be greatly appreciated. 
Brandt 


-- 
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