RE: [GD-Windows] Beep error on exit
Brought to you by:
vexxed72
From: Brian H. <bri...@py...> - 2002-03-04 21:13:09
|
I figured out what was causing the beep, sort of. It was, in fact, because of static object destructors. Specifically, it was some debug code that basically did this: Sprite::~Sprite() { VERIFY( m_pData == 0 ); //make sure we've freed up our memory } The VERIFY was failing (because the memory wasn't freed up), but instead of throwing up a messagebox like it should have, it just beeped and died. I had to walk the exit handler chain and step through the disassembly to find this -- for some reason setting breakpoints in the destructors wasn't working. Brian |