Click here to Skip to main content
15,884,836 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to use One Pointer Object in another .cpp file? Pin
002comp15-Apr-11 2:24
002comp15-Apr-11 2:24 
GeneralRe: How to use One Pointer Object in another .cpp file? Pin
Stefan_Lang15-Apr-11 4:42
Stefan_Lang15-Apr-11 4:42 
GeneralRe: How to use One Pointer Object in another .cpp file? Pin
Albert Holguin15-Apr-11 4:29
professionalAlbert Holguin15-Apr-11 4:29 
AnswerRe: How to use One Pointer Object in another .cpp file? Pin
Code-o-mat14-Apr-11 23:07
Code-o-mat14-Apr-11 23:07 
QuestionHow to convert filename to fully qualified name when running an app with a filename argument in the current working directory Pin
Erik13-Apr-11 20:05
Erik13-Apr-11 20:05 
AnswerRe: How to convert filename to fully qualified name when running an app with a filename argument in the current working directory Pin
«_Superman_»13-Apr-11 21:30
professional«_Superman_»13-Apr-11 21:30 
GeneralRe: How to convert filename to fully qualified name when running an app with a filename argument in the current working directory Pin
Erik14-Apr-11 0:00
Erik14-Apr-11 0:00 
GeneralCMFCEditBrowseCtrl leaks... Pin
danLenehan13-Apr-11 8:51
danLenehan13-Apr-11 8:51 
I wrote a program using CMFCEditBrowseCtrl which had memory leaks. I identified this particular control as the issue. To confirm this, I then built a test program which just has a single CMFCEitBrowseCtrl on the dialog. It leaks upon exit.

I'm in VS2010. I used the app wizard to build a dialog based application using all the default selections. I added the CMFCEditBrowse control using the dialog editor. It compiles OK. It display the dialog and exits with memory leaks. If I remove the control, it exits ok. I can even add a CEdit control and it exits without a memory leak.

The leak is reported like this:

The thread 'Win32 Thread' (0xc3c) has exited with code 0 (0x0).
Detected memory leaks!
Dumping objects ->
{435} client block at 0x01070560, subtype c0, 212 bytes long.
a CMFCVisualManager object at $01070560, 212 bytes long
Object dump complete.
The program '[0x474] testmfcebc.exe: Native' has exited with code 0 (0x0).

Any ideas on how to proceed?
DanL

GeneralRe: CMFCEditBrowseCtrl leaks... Pin
Maximilien13-Apr-11 9:42
Maximilien13-Apr-11 9:42 
GeneralRe: CMFCEditBrowseCtrl leaks... Pin
danLenehan13-Apr-11 13:48
danLenehan13-Apr-11 13:48 
GeneralRe: CMFCEditBrowseCtrl leaks... Pin
Maximilien13-Apr-11 14:15
Maximilien13-Apr-11 14:15 
QuestionTried Searching but Can't find the Answer Pin
JohnnyG13-Apr-11 8:20
JohnnyG13-Apr-11 8:20 
AnswerRe: Tried Searching but Can't find the Answer Pin
Albert Holguin13-Apr-11 8:27
professionalAlbert Holguin13-Apr-11 8:27 
GeneralRe: Tried Searching but Can't find the Answer Pin
JohnnyG13-Apr-11 8:39
JohnnyG13-Apr-11 8:39 
GeneralRe: Tried Searching but Can't find the Answer Pin
Albert Holguin13-Apr-11 9:56
professionalAlbert Holguin13-Apr-11 9:56 
GeneralRe: Tried Searching but Can't find the Answer [modified] Pin
JohnnyG13-Apr-11 10:08
JohnnyG13-Apr-11 10:08 
AnswerRe: Tried Searching but Can't find the Answer Pin
MicroVirus14-Apr-11 2:10
MicroVirus14-Apr-11 2:10 
GeneralRe: Tried Searching but Can't find the Answer Pin
JohnnyG14-Apr-11 3:22
JohnnyG14-Apr-11 3:22 
QuestionGlui in visual studio 2008 ( c++ ) Pin
Member 783376313-Apr-11 5:42
Member 783376313-Apr-11 5:42 
AnswerRe: Glui in visual studio 2008 ( c++ ) Pin
nitchman238313-Apr-11 7:39
nitchman238313-Apr-11 7:39 
QuestionCrash after installing KB2465361 Pin
jung-kreidler13-Apr-11 1:46
jung-kreidler13-Apr-11 1:46 
AnswerRe: Crash after installing KB2465361 Pin
Hans Dietrich13-Apr-11 1:58
mentorHans Dietrich13-Apr-11 1:58 
GeneralRe: Crash after installing KB2465361 Pin
jung-kreidler13-Apr-11 4:13
jung-kreidler13-Apr-11 4:13 
GeneralRe: Crash after installing KB2465361 Pin
jung-kreidler13-Apr-11 4:41
jung-kreidler13-Apr-11 4:41 
QuestionRotate View Pin
giannib2k12-Apr-11 22:04
giannib2k12-Apr-11 22:04 

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.