Click here to Skip to main content
15,905,776 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
Thanks, Anon. I was not deleting 'f' thinking that it would just get garbage-collected, but I can see the problem with that.

Since deleting 'f' requires a destructor, I have added the 'delete f;' code to the MFC object and a destructor '~FormX(){}' to the form's code. When I compile the MFC code, I get an C3841 error on the delete statement which says "C3841: illegal delete expression: managed type 'ClassLibrary1::FormX' does not have a destructor defined." I am still missing something?

Paul
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 
Questionstdafx.h? Pin
Zizilamoroso14-Mar-05 0:48
Zizilamoroso14-Mar-05 0:48 
GeneralPlease help me regarding microsoft comm control Pin
Member 176156314-Mar-05 0:14
Member 176156314-Mar-05 0:14 

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.