Click here to Skip to main content
15,913,685 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: The Persistent Runtime Crash Pin
LighthouseJ14-Mar-05 6:42
LighthouseJ14-Mar-05 6:42 
GeneralRe: The Persistent Runtime Crash Pin
PJ Arends14-Mar-05 6:35
professionalPJ Arends14-Mar-05 6:35 
GeneralRe: The Persistent Runtime Crash Pin
LighthouseJ14-Mar-05 6:38
LighthouseJ14-Mar-05 6:38 
GeneralRe: The Persistent Runtime Crash Pin
PJ Arends14-Mar-05 6:53
professionalPJ Arends14-Mar-05 6:53 
GeneralRe: The Persistent Runtime Crash Pin
LighthouseJ14-Mar-05 7:05
LighthouseJ14-Mar-05 7:05 
GeneralRe: The Persistent Runtime Crash Pin
David Crow14-Mar-05 8:35
David Crow14-Mar-05 8:35 
GeneralRe: The Persistent Runtime Crash Pin
PJ Arends14-Mar-05 9:07
professionalPJ Arends14-Mar-05 9:07 
QuestionMFC CCmdTarget Assert on App Exit After Calling Windows Form? Pin
RockyMu14-Mar-05 4:14
RockyMu14-Mar-05 4:14 
I have a Visual Studio solution that contains an MFC executable project and a .NET C# class library project with a Windows Form. When I instantiate a simple C# Windows form from the MFC program, then, on closing out the form and exiting the MFC app, I receive an assert in the CCmdTarget destructor (line 48 cmdtarg.cpp) because m_dwRef is > 1. I have recreated this with the simplest MFC and C# windows from that I can make. I still get this assert. Other than the assert on close-out, everything else works fine. The form is instantiated from an MFC CDocument class object using the following code:
FormX *f = new FormX();
f->ShowDialog();
What's my problem??
AnswerRe: MFC CCmdTarget Assert on App Exit After Calling Windows Form? Pin
Wes Aday14-Mar-05 4:31
professionalWes Aday14-Mar-05 4:31 
GeneralRe: MFC CCmdTarget Assert on App Exit After Calling Windows Form? Pin
RockyMu14-Mar-05 5:05
RockyMu14-Mar-05 5:05 
GeneralRe: MFC CCmdTarget Assert on App Exit After Calling Windows Form? Pin
Wes Aday14-Mar-05 5:20
professionalWes Aday14-Mar-05 5:20 
GeneralReally Need Input Pin
bepperso14-Mar-05 3:47
bepperso14-Mar-05 3:47 
General.NET versions Pin
Trollslayer14-Mar-05 3:37
mentorTrollslayer14-Mar-05 3:37 
Generaldispose form Pin
doneirik14-Mar-05 3:18
doneirik14-Mar-05 3:18 
GeneralRe: dispose form Pin
Renjith Ramachandran14-Mar-05 16:28
Renjith Ramachandran14-Mar-05 16:28 
Generalextract text from PDF Pin
User 172888414-Mar-05 3:03
User 172888414-Mar-05 3:03 
GeneralPower Point in Visual C++ 6.0 Pin
14-Mar-05 2:37
suss14-Mar-05 2:37 
GeneralRe: Power Point in Visual C++ 6.0 Pin
David Crow14-Mar-05 2:50
David Crow14-Mar-05 2:50 
GeneralDelay Pin
Usman Arif14-Mar-05 1:37
Usman Arif14-Mar-05 1:37 
GeneralRe: Delay Pin
Ravi Bhavnani14-Mar-05 1:54
professionalRavi Bhavnani14-Mar-05 1:54 
GeneralMultiple instances of Active X control don't paint correctly Pin
rdeekonda14-Mar-05 1:14
rdeekonda14-Mar-05 1:14 
GeneralRe: Multiple instances of Active X control don't paint correctly Pin
rdeekonda15-Mar-05 1:09
rdeekonda15-Mar-05 1:09 
Generalsplitting of string Pin
Ankit Aneja14-Mar-05 0:49
Ankit Aneja14-Mar-05 0:49 
GeneralRe: splitting of string Pin
Ravi Bhavnani14-Mar-05 1:56
professionalRavi Bhavnani14-Mar-05 1:56 
GeneralRe: splitting of string Pin
David Crow14-Mar-05 2:49
David Crow14-Mar-05 2:49 

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.