Thanks for your all advices. i greatly do appreciate it.
By the way, i just want to clarify sth:
1) the all find function must put in segment 1. Does the segment 1 you mean
is segment 0? since i put the search function in segment 1, it doesn't work
but i didn't allocate any segment to the search function, it works.
2) Because the program is previously written, so all the database program
are segmented in object form. Due to the global find requirement, i try not
to segment the particular database program to any segment and just leave it
in segment 0. But it doesn't work. Can i do like this way? i called the
function by initialize the object but the object function is in segment 0.

Pls do advise. Thanks for your response and help.

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

Reply via email to