I'm trying to sublaunch (SysAppLaunch) my application from within a
EvtProcessSoftKeyStroke hack so that I could return to the currently running
application when my app is done. I'm sublaunching with a custom launch code
and then executing as if I was launched with a normal launch code.  I'm also
sublaunching with new globals/stack flags.

I'm not having great success.

My app launches but there are two problems I'm experiencing depending on the
currently running application when my app gets sublaunched via the hack.

1. My app runs normally and the hack returns successfully from the
SysAppLaunch, but the screen is blank. I.e., the currently running app
doesn't know that it should redraw its whole display since my app overwrote
it.

2. My app runs normally but somewhere in between before my app finishes and
SysAppLaunch returns, I get a memory access violation.

So, does anyone know the rules I need to follow if I want to do a
SysAppLaunch from within a EvtProcessSoftKeyStroke hack and expect to return
to the context of the currently running application, even if the sublaunched
application completely changes the context when it runs (new forms, new
globals/stack, etc)?

Thanks!





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

Reply via email to