Application fails in Release mode....
-
Hi, I developed an application in VC++, and it is crashing in the release mode.I enabled Debbuging in the release mode, and I hv attached the dump of my Call Stack. I dont know, why CWinApp object is NULL.Can anybody pl. help me in solving this... TBMS3! __sbh_free_block + 369 bytes TBMS3! free + 35 bytes operator delete(void * 0x0145c030) line 349 + 9 bytes CPlex::FreeDataChain(CPlex * const 0x00000000) line 45 + 6 bytes CMapPtrToPtr::RemoveAll(CMapPtrToPtr * const 0x00000000 {CMapPtrToPtr}) line 94 CHandleMap::DeleteTemp(CHandleMap * const 0x00000000) line 239 + 8 bytes AfxUnlockTempMaps(int 1) line 50 CWinThread::OnIdle(CWinThread * const 0x00000000 {CWinThread h=??? proc=???}, long 5120804) line 591 CWinApp::OnIdle(CWinApp * const 0x00000000 {CWinApp ???}, long) line 494 Also, earlier it was giving errors related to vector destructor iterator. Wherever I used delete [] ptr, the application was failing. Even though I am not using delete [] from within my code, the MFC framework is using that a lot. Is there any way by which I can force the compiler to include vector destructor, and scalar destructor. I am working in VC++ 6.0 --Rgds--
-
Hi, I developed an application in VC++, and it is crashing in the release mode.I enabled Debbuging in the release mode, and I hv attached the dump of my Call Stack. I dont know, why CWinApp object is NULL.Can anybody pl. help me in solving this... TBMS3! __sbh_free_block + 369 bytes TBMS3! free + 35 bytes operator delete(void * 0x0145c030) line 349 + 9 bytes CPlex::FreeDataChain(CPlex * const 0x00000000) line 45 + 6 bytes CMapPtrToPtr::RemoveAll(CMapPtrToPtr * const 0x00000000 {CMapPtrToPtr}) line 94 CHandleMap::DeleteTemp(CHandleMap * const 0x00000000) line 239 + 8 bytes AfxUnlockTempMaps(int 1) line 50 CWinThread::OnIdle(CWinThread * const 0x00000000 {CWinThread h=??? proc=???}, long 5120804) line 591 CWinApp::OnIdle(CWinApp * const 0x00000000 {CWinApp ???}, long) line 494 Also, earlier it was giving errors related to vector destructor iterator. Wherever I used delete [] ptr, the application was failing. Even though I am not using delete [] from within my code, the MFC framework is using that a lot. Is there any way by which I can force the compiler to include vector destructor, and scalar destructor. I am working in VC++ 6.0 --Rgds--
A must read article: http://www.codeproject.com/debug/survivereleasever.asp[^]
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03 "Obviously ??? You're definitely a superstar!!!" mYkel - 21 Jun '04 Within you lies the power for good - Use it!