Hi,

When do the globals get initialised ?   Here is my dilema...

When my app launches, if the global flag is reset then it clears the
fields and sets the global flag.   If you then exit the application
using the "Applications" silk screen button, and then immediately select
my application again, it launches again, AND because the globals are
still initialised the global flag is set and the fields are NOT
cleared.   This IS the desired effect (I want to retain data if the user
does not use another application).

My application is written in assembler (Pila)
    The above works when:
    1.   Running on a PalmPilot Professional (OS2)
    2.   Running on POSE using the real OS2 ROM
My application fails (always clears) when:
    3.   Running on POSE using OS2 debug ROM
    4.   Running on POSE using OS3 debug ROM

Now I have rewritten my application in GCC (W95) and:
My application works as above except if I have LaunchIII installed:
It fails (always clears) on the PalmPilot Professional but the assembler
(Pila) version does not fail.   I'm not sure of these effects on POSE.

Question:
Is there a way to make my global flag (under GCC) and all ROMs remain
persistant  and LaunchIII ?

Regards,
Ray



Reply via email to