You may need to provide some more info, or preferably actual code, on the contents of your constructor for anyone to make a useful guess.
You mention global variables... are you attempting to access them at a time when globals are not available? "Brian" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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. It hangs on the returning line, like this > > mg = MyGame(); > > where mg is declared in a file of global variables and referenced > through an extern reference. > > None of this is new, it's been working fine for months. I haven't made > changes to any of this code. > > 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. > > Any ideas? > -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
