>Subject: Flooding the dynamic heap, gremlin-ing my program
>From: "Ng Wei Gee" <[EMAIL PROTECTED]>
>Date: Fri, 22 Jun 2001 17:16:20 +0800
>
> .......
>
>Another problem is that my program uses the SysUISwitch 
>(can't rem the exact function name!) to change program upon 
>one of the button presses. In such a case, how can I make 
>gremlin "trap" itself in my program and do it's work?
>As long as gremlin clicks that button and goes out of my program,
>it basically does anything that it wants from then on.

A standard issue with complex applications is that Gremlins
has a tendency to focus on a narrow subset of the application.  
Particularly screens with lots of buttons.
You can use the function SysGremlins(GremlinIsOn,NULL)
to detect gremlins and branch appropriately within your program.

Roger Stringer
Marietta Systems, Inc



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

Reply via email to