Yes... can i confirm with you about the global find function: The command of global find i called from the PilotMain is sysAppLaunchCmdFind and inside the function, call the Search(), where all my existing code have been segmented such as:
ABC() CMDB; //used in find function In this case, the Search() i didn't segment it. Because of the global find requirement, i have to relocate the ABC() CMDB; to ABC(); , rite? so...my question is: if i change this, my existing program generates the "fatal error" when locating record from database, say ABC() used to retrieve record. Will my changes affect this??? Does anybody have the idea???? "Robert McKenzie" <[EMAIL PROTECTED]> wrote in message news:75073@palm-dev-forum... > > There are two restrictions to code that executes in response to a find: > (1) Globals are not available. > (2) All code must be in Segment 1. > > You should additionally note that the find may run when your application is > NOT running (then (1) really is enforced), OR when your app IS running (then > (1) globals ARE available, but you may need to deal with trying to open > databases twice). The good news in the later case is that you can open a > database twice -- under some restrictions: (a) it must not have been > previously opened read-write exclusive, and (b) if already opened > read-write, it can only be opened again by the same application. > > Good Luck! > -bob mckenzie > palm portland > > -----Original Message----- > From: James Barwick [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 30, 2002 5:04 AM > To: Palm Developer Forum > Subject: Re: !!Urgent - Global Find Problem > > > I'm getting ready to write GF for my Segmented App...my first guess is... > > make sure all the Global Find handling code is in the first Segment. I > hope that's the answer as I'm getting ready to get started..... > > JDB > > quennie wrote: > > >Does anybody have the idea that the global find can support multi-segmented > >application???? i have this queries since i'm not able to call the function > >which is segmented program and generates me the fatal error. > > > >pls reply if anybody has any idea??? i really need somebody's help... > > > >Your kind assistance is greatly appreciated! > > > > > > > > > > > > > > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, > please see http://www.palmos.com/dev/tech/support/forums/ > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
