I have a SysUIAppSwitch in my code where I must disown the parameter
block so that the other app. can become the owner. This code works fine
and appears to be the standard way of switching to another UI app.
I run into problems though when gremlins are running given that the
disowned block does not get freed. Gremlins appears to disable
SysUIAppSwitch which makes sense. This then caused me to want to check
if gremlins are running; if they are running then I could deallocate the
param block myself. I note that under OS 3 one can call SysGremlins to
determine if gremlins are running but not under OS 2. Is there a
supported method of doing the same sort of check under OS 2?
An even better solution for the future would be to have gremlins
deallocate the param block for SysUIAppSwitch, or for SysUIAppSwitch to
make a copy of the param block so that ownership does not play a part...
--
Christopher Hunt
Class Action Pty. Ltd.
Are you a time zone traveler that owns a Palm(tm) connected organizer?
Check out http://www.classactionpl.com/TimeTraveler/index.htm