I am cross-posting this, I already posted it in the palm-dev-forum, but
I'm desperate for a fix. Sorry.
My program is hanging, like it's in an infinite loop, while returning
from constructing an object. Through the debugger, I've found that it
is hanging on the returning call to the constructor. I put a breakpoint
on the closing bracket of the constructor, and it goes past that point
fine. Then it hangs on the returning line, like this
mg = MyGame();
The MyGame variable 'mg' is declared in a file of global variables and
referenced through an extern reference. It has been used before with
another MyGame() object.
It appears to work fine the first time the mg object is constructed.
Then I re-use the mg reference when I am resuming a saved game. I don't
have a destructor for the MyGame() object, but I never have. I don't do
any memory allocation within the object.
None of this is new, it's been working fine for months. I haven't made
changes to any of this code.
Any ideas?


|