I have a bug that I've been trying to nail down for over a week now, but don't seem to be any closer than I was when I started.
The problem surfaces when running gremlins. Typically, when my app exits, the main event loop gets an appStopEvent and does some house cleaning before exiting (I imagine the OS does quite a bit, too). But, when running gremlins, every 10,000 events or so my Main Form handler will get a frmLoadEvent without having received an appStopEvent beforehand. So, its as if the form is loading twice. E.g., gremlins will be running and I'll get events ...appStopEvent....appLoadEvent....appStopEvent....appLoadEvent....appStopEv ent.... with a bunch of other event types in between. But, eventually I get them in the order: ....appStopEvent...appLoadEvent....appLoadEvent.... And then things break down from there. The problems particularly hard to track down because when I step though the code, the error doesn't occur. It only seems to happen when Gremlins is going full bore. I know this post is pretty vague, but if someone could give me some clues or even guesses, I'd appreciate it. Thanks, Rich -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
