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/

Reply via email to