Hello,
I've done it this way and my application works fine.
The funny thing is, that when deleting the find-event-handler
in PilotMain(), so that my application only handles the
launch-event, it crashes the same way.
On a 'real' palm it works (more or less). I only got one
message from a user with that problem, so it seems to me,
that all the others only have 'luck' when using find without
problems.
Can it be, that handling a more-segmented program is a
problem for OS 2.02 ?
> -----------------------------------------------------------------------
> Mfg
>
> Maik Boenig
>
> Tel: +49 511 567-5248
>
> TUI InfoTec
> Karl-Wiechert-Allee 23
> D 30625 Hannover / Germany
>
>
> -----Ursprungliche Nachricht-----
> Von: Neil Rhodes [SMTP:[EMAIL PROTECTED]]
> Gesendet am: Freitag, 7. Mai 1999 10:51
> An: [EMAIL PROTECTED]
> Betreff: Re: System find
>
> If you've got a multi-segmented aplication, you need to make sure that the
> Metrowerks runtime library and your PilotMain are in the first segment.
>
> Check the Segments panel of the Project window and make sure the file
> containing your PilotMain and the runtime are both in the first segment.
>
> Segment-swapping requires global variables (I believe), and so you can't use
> any but the first segment in a find (or any other launch code that doesn't
> get globals).
>
>
> Neil
>
> > I've a problem with my appilcation (114k, multi-segmented).
> > When I install it (just install, no start) and use a system-find
> > (no matter what application is running), the find crashes in
> > POSE with a PalmPro ROM with version 2.02.
> >
> >
> > If I deinstall my application, everything works fine.
> >
> > The interesting point is, that my application don't get a event
> > for the system find; it seems, that it crashes just before calling it.
> > When using the debugger, it never reaches the PilotMain-
> > function.
> >
> > Any ideas ?
> >