Hi All,

I was having a problem with sysAppLaunchCmdAttention (received from Attention Manager). I would like to know if my application is active and if my global variables are available, when that launch code is received.

Specifically, when my application is run, it opens a database with read/write access. The application also needs to open read access to the database, when sysAppLaunchCmdAttention is received.

Now, if the application is active when that launch code is received, the launch code handler only needs to reuse the existing database handle. On the other hande, if the application is not active, it would simply have to open the database in read only mode. Thus, I would like to know if the application is active and I would also need to access its global variables, if it's active.

Is this possible with the current Palm OS? If not, is there any god workaround?

Thanks a lot.

Tony Cheung


-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to