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

C / C++ / MFC

 
General*** Changing Title of a Document Frame **** Pin
Steve Lai15-Sep-00 6:02
Steve Lai15-Sep-00 6:02 
GeneralRe: *** Changing Title of a Document Frame **** Pin
Member 120896515-Sep-00 6:36
Member 120896515-Sep-00 6:36 
GeneralRe: *** Changing Title of a Document Frame **** Pin
Sam Hobbs15-Sep-00 10:41
Sam Hobbs15-Sep-00 10:41 
GeneralRe: *** Changing Title of a Document Frame **** Pin
Member 120896515-Sep-00 11:03
Member 120896515-Sep-00 11:03 
GeneralRe: *** Changing Title of a Document Frame **** Pin
Sam Hobbs15-Sep-00 10:48
Sam Hobbs15-Sep-00 10:48 
GeneralCD-ROM access Pin
Roger15-Sep-00 5:28
Roger15-Sep-00 5:28 
GeneralRe: CD-ROM access Pin
Paolo Messina16-Sep-00 23:08
professionalPaolo Messina16-Sep-00 23:08 
GeneralColors in visual c++ MFC Pin
Fredrik15-Sep-00 0:57
Fredrik15-Sep-00 0:57 
GeneralRe: Colors in visual c++ MFC Pin
Mustafa Demirhan15-Sep-00 4:52
Mustafa Demirhan15-Sep-00 4:52 
GeneralCustomized CFileDialog Pin
philippe dykmans15-Sep-00 0:10
philippe dykmans15-Sep-00 0:10 
GeneralPrint and Print Preview controls within a CView Pin
Cameron Stevens14-Sep-00 18:52
Cameron Stevens14-Sep-00 18:52 
GeneralDrag/Drop objects from one document to other documents in MDI App. Pin
Bermusa14-Sep-00 4:13
Bermusa14-Sep-00 4:13 
GeneralRe: Drag/Drop objects from one document to other documents in MDI App. Pin
Erik Funkenbusch19-Sep-00 13:14
Erik Funkenbusch19-Sep-00 13:14 
GeneralRe: Drag/Drop objects from one document to other documents in MDI App. Pin
Bermusa19-Sep-00 17:12
Bermusa19-Sep-00 17:12 
GeneralModeless dialog boxes Pin
nimrod14-Sep-00 1:26
nimrod14-Sep-00 1:26 
GeneralRe: Modeless dialog boxes Pin
Mustafa Demirhan14-Sep-00 10:01
Mustafa Demirhan14-Sep-00 10:01 
GeneralRe: Modeless dialog boxes Pin
Sam Hobbs14-Sep-00 10:59
Sam Hobbs14-Sep-00 10:59 
Generalgetting build number Pin
P e t e r13-Sep-00 22:30
P e t e r13-Sep-00 22:30 
GeneralRe: getting build number Pin
Paolo Messina16-Sep-00 23:22
professionalPaolo Messina16-Sep-00 23:22 
GeneralMem Leak on destruction Pin
Ron Ginsberg13-Sep-00 12:25
Ron Ginsberg13-Sep-00 12:25 
Env: Vis C++ 6.0 SP3 WIN98 updated.

Doc/view application under debug.

I have a class constructed with CW that consists of standard variable declarations, an array of records of byte arrays that accept serialization and is included in this class, etc.

In the wiz constructed document class, I create this class object with the new operator from within the document constructor:

MFDPreFileDoc::MFDPrefileDoc()
{

CMFD_RCRD* pCMfD_RCRD = new CMFD_RCRD();

}

All works well with the app (static linked exe), pointers, etc.

Under debug, if the app (SDI or MDI) is closed with exit, no problem. Id the app ic closed with the mainframe "X", debug dumps a mem leak error pointing to this new statement.

The CMFD_RCRD has a virtual destructor as does the document itself created by the WIZ. I have tried placing a function in the doc destructor pointing to the CMFD_RCRD destructor, but get an assertion err.

Within the app, there are no errors associated with closing child win views associated with their instances of the relative document instances as indicated by debug, only with the mainframe X end app.

Any ideas? Do I have a real mem leak or is this due to the debug environment?





GeneralRe: Mem Leak on destruction Pin
Tim Deveaux14-Sep-00 3:30
Tim Deveaux14-Sep-00 3:30 
GeneralRe: Mem Leak on destruction Pin
Mustafa Demirhan16-Sep-00 1:20
Mustafa Demirhan16-Sep-00 1:20 
GeneralCTreeCtrl and Network Neighbourhood control Pin
beretta13-Sep-00 11:13
beretta13-Sep-00 11:13 
GeneralRe: CTreeCtrl and Network Neighbourhood control Pin
Paolo Messina14-Sep-00 0:30
professionalPaolo Messina14-Sep-00 0:30 
GeneralRTF to BITMAP conversion Pin
Saravana13-Sep-00 10:45
Saravana13-Sep-00 10:45 

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.