At 3:31 PM -0500 2/15/00, Charles Rezsonya wrote:
>ah,..i have a few apps that depend on a specific entered text in a field to
>continue,  now the gremlins don't do that,  they just bombard the screen
>with random stuff preventing the full utilization of the gremlin in the app.
>
>i thought of getting around it by putting the accept text into the field or
>removing the text check.  has anyone ran into this with gremlins?  how was
>it handled.

You might want to make your app behave differently when running Gremlins. Take at 
looks at the file HostControl.h that's distributed with Poser. You can #include this 
file and use the API's defined in it to do stuff like this.

        HostID HostGetHostID(void);
        HostBool HostGremlinIsRunning(void);

You can't uses these API's safely until you know you're running on Poser (or the Mac 
simulator). Kind of a Catch-22. To find out if you're running on Poser, check for the 
'pose' feature.

An easier alternative is to make your debug target behave differently. This may be 
annoying during testing though.
-
Danny Epstein - Applied Thought
No Palm is an Island - try BeamBooks
http://www.appliedthought.com/beambooks

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to