Click here to Skip to main content
16,010,114 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VC++ 6.0 and VC++ .NET ! Pin
Michael P Butler26-Mar-02 3:48
Michael P Butler26-Mar-02 3:48 
GeneralHooking CFileDialog ASSERT And a question Pin
Maximilien25-Mar-02 10:56
Maximilien25-Mar-02 10:56 
GeneralRe: Hooking CFileDialog ASSERT And a question Pin
Tomasz Sowinski25-Mar-02 10:59
Tomasz Sowinski25-Mar-02 10:59 
GeneralRe: Hooking CFileDialog ASSERT And a question Pin
Maximilien25-Mar-02 11:06
Maximilien25-Mar-02 11:06 
GeneralPlease, read this ! Pin
25-Mar-02 10:49
suss25-Mar-02 10:49 
GeneralRe: Please, read this ! Pin
Joaquín M López Muñoz25-Mar-02 10:50
Joaquín M López Muñoz25-Mar-02 10:50 
GeneralPlease, read the forum title! Pin
Le centriste25-Mar-02 10:56
Le centriste25-Mar-02 10:56 
GeneralTruly Bizarre Pin
#realJSOP25-Mar-02 10:34
professional#realJSOP25-Mar-02 10:34 
My app is crashing with a First Chance exception in ExitInstance().

The bizarre part is that it crashes on a line similar to this:

// elsewhere in the code
CMyClass* m_pObject;
m_pObject = CMyClass::allocInstance(); // don't ask - it wasn't my idea

// in exit instance
if (m_pObject)



Yes, it crashes on the if statement. To add to the mystery, the assembly code looks like this:

0041B431   call   dword ptr [__imp__CoUninitialize@0 (008f1db0)]


What the heck is *that* all about?

This didn't start happening until I added a DLL that uses COM to communicate wirth DirectShow. The DLL contains calls to CoInitialize and CoUninitialize.



"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
GeneralRe: Truly Bizarre Pin
Christian Graus25-Mar-02 10:45
protectorChristian Graus25-Mar-02 10:45 
GeneralRe: Truly Bizarre Pin
#realJSOP26-Mar-02 0:31
professional#realJSOP26-Mar-02 0:31 
GeneralRe: Truly Bizarre Pin
Tomasz Sowinski25-Mar-02 10:54
Tomasz Sowinski25-Mar-02 10:54 
GeneralRe: Truly Bizarre Pin
#realJSOP26-Mar-02 0:33
professional#realJSOP26-Mar-02 0:33 
GeneralRe: Truly Bizarre Pin
Tomasz Sowinski26-Mar-02 0:51
Tomasz Sowinski26-Mar-02 0:51 
GeneralRe: Truly Bizarre Pin
#realJSOP26-Mar-02 2:50
professional#realJSOP26-Mar-02 2:50 
GeneralRe: Truly Bizarre Pin
Tomasz Sowinski26-Mar-02 2:51
Tomasz Sowinski26-Mar-02 2:51 
GeneralRe: Truly Bizarre Pin
Joel Lucsy26-Mar-02 5:01
Joel Lucsy26-Mar-02 5:01 
Generalscrolling text` Pin
25-Mar-02 10:22
suss25-Mar-02 10:22 
GeneralRe: scrolling text` Pin
Christian Graus25-Mar-02 10:46
protectorChristian Graus25-Mar-02 10:46 
GeneralDebug info in a release build Pin
Tim Smith25-Mar-02 10:14
Tim Smith25-Mar-02 10:14 
GeneralRe: Debug info in a release build Pin
Tomasz Sowinski25-Mar-02 10:44
Tomasz Sowinski25-Mar-02 10:44 
GeneralRe: Debug info in a release build Pin
Tim Smith25-Mar-02 10:52
Tim Smith25-Mar-02 10:52 
GeneralRe: Debug info in a release build Pin
Tomasz Sowinski25-Mar-02 11:17
Tomasz Sowinski25-Mar-02 11:17 
QuestionWhat happened here???? Pin
25-Mar-02 9:52
suss25-Mar-02 9:52 
AnswerRe: What happened here???? Pin
Joaquín M López Muñoz25-Mar-02 9:59
Joaquín M López Muñoz25-Mar-02 9:59 
GeneralRe: What happened here???? (thanks) Pin
25-Mar-02 9:55
suss25-Mar-02 9:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.