Click here to Skip to main content
15,922,630 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Memory Leaks in IMPLEMENT_DYNCREATE?!?!?!? Pin
Jawache9-Sep-02 1:56
Jawache9-Sep-02 1:56 
AnswerRe: Memory Leaks in IMPLEMENT_DYNCREATE?!?!?!? Pin
Pavel Klocek9-Sep-02 1:52
Pavel Klocek9-Sep-02 1:52 
GeneralRe: Memory Leaks in IMPLEMENT_DYNCREATE?!?!?!? Pin
Jawache9-Sep-02 1:59
Jawache9-Sep-02 1:59 
GeneralRe: Memory Leaks in IMPLEMENT_DYNCREATE?!?!?!? Pin
Tomasz Sowinski9-Sep-02 2:07
Tomasz Sowinski9-Sep-02 2:07 
GeneralRe: Memory Leaks in IMPLEMENT_DYNCREATE?!?!?!? Pin
Jawache9-Sep-02 2:13
Jawache9-Sep-02 2:13 
GeneralRe: Memory Leaks in IMPLEMENT_DYNCREATE?!?!?!? Pin
Tomasz Sowinski9-Sep-02 2:19
Tomasz Sowinski9-Sep-02 2:19 
GeneralRe: Memory Leaks in IMPLEMENT_DYNCREATE?!?!?!? Pin
Jawache9-Sep-02 2:22
Jawache9-Sep-02 2:22 
GeneralRe: Memory Leaks in IMPLEMENT_DYNCREATE?!?!?!? Pin
Tomasz Sowinski9-Sep-02 2:26
Tomasz Sowinski9-Sep-02 2:26 
Jawache wrote:
and its still NOT null by the end of InitInstance()

This is how it's expected to work.

Now, the advanced breakpoint stuff. Open the breakpoints dialog box (Ctrl+B), select the 'Data' tab and type 'theApp.m_pDocManager' (without apostrophes) in the 'Enter the expression to be evaluated' box. Run the program - you should hit the bkpt in the InitInstance first (this is when it's initialized), then for the second time when it gets nullified.

Tomasz Sowinski -- http://www.shooltz.com

** Putt knot yore thrust inn spel chequers. **

GeneralRe: Memory Leaks in IMPLEMENT_DYNCREATE?!?!?!? Pin
Jawache9-Sep-02 2:39
Jawache9-Sep-02 2:39 
GeneralRe: Memory Leaks in IMPLEMENT_DYNCREATE?!?!?!? Pin
Tomasz Sowinski9-Sep-02 2:43
Tomasz Sowinski9-Sep-02 2:43 
GeneralRe: Memory Leaks in IMPLEMENT_DYNCREATE?!?!?!? Pin
Jawache9-Sep-02 2:53
Jawache9-Sep-02 2:53 
GeneralRe: Memory Leaks in IMPLEMENT_DYNCREATE?!?!?!? Pin
Tomasz Sowinski9-Sep-02 2:55
Tomasz Sowinski9-Sep-02 2:55 
GeneralRe: Memory Leaks in IMPLEMENT_DYNCREATE?!?!?!? Pin
Jawache9-Sep-02 3:36
Jawache9-Sep-02 3:36 
GeneralRe: Memory Leaks in IMPLEMENT_DYNCREATE?!?!?!? Pin
Tomasz Sowinski9-Sep-02 3:49
Tomasz Sowinski9-Sep-02 3:49 
GeneralRe: Memory Leaks in IMPLEMENT_DYNCREATE?!?!?!? Pin
Jawache9-Sep-02 4:08
Jawache9-Sep-02 4:08 
GeneralRe: Memory Leaks in IMPLEMENT_DYNCREATE?!?!?!? Pin
Tomasz Sowinski9-Sep-02 4:12
Tomasz Sowinski9-Sep-02 4:12 
GeneralRe: Memory Leaks in IMPLEMENT_DYNCREATE?!?!?!? Pin
Jawache9-Sep-02 4:33
Jawache9-Sep-02 4:33 
GeneralRe: [SOLVED] Memory Leaks in IMPLEMENT_DYNCREATE?!?!?!? Pin
Jawache10-Sep-02 12:48
Jawache10-Sep-02 12:48 
GeneralRe: Memory Leaks in IMPLEMENT_DYNCREATE?!?!?!? Pin
Jawache9-Sep-02 2:26
Jawache9-Sep-02 2:26 
GeneralSaving DC contents in an image file Pin
Majid Shahabfar9-Sep-02 1:01
Majid Shahabfar9-Sep-02 1:01 
GeneralRe: Saving DC contents in an image file Pin
Jawache9-Sep-02 1:18
Jawache9-Sep-02 1:18 
General3D plot Pin
Majid Shahabfar9-Sep-02 0:51
Majid Shahabfar9-Sep-02 0:51 
GeneralRe: 3D plot Pin
Jawache9-Sep-02 1:24
Jawache9-Sep-02 1:24 
GeneralROOT Pin
Jonathan de Halleux9-Sep-02 1:44
Jonathan de Halleux9-Sep-02 1:44 
QuestionHOWTO Place controls in taskbar?? Pin
Don Miguel9-Sep-02 0:36
Don Miguel9-Sep-02 0:36 

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.