Click here to Skip to main content
16,009,640 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Tapi Pin
kashish847-Oct-04 2:36
kashish847-Oct-04 2:36 
GeneralRe: Tapi Pin
Member 13058118-Oct-04 1:08
Member 13058118-Oct-04 1:08 
Generalwin32 VC++ Pin
Ann666-Oct-04 8:55
sussAnn666-Oct-04 8:55 
GeneralRe: win32 VC++ Pin
anandforu6-Oct-04 9:04
anandforu6-Oct-04 9:04 
GeneralRe: win32 VC++ Pin
Bob Stanneveld6-Oct-04 9:22
Bob Stanneveld6-Oct-04 9:22 
Generalmemory leaks with IMPLEMENT_DYNACREATE Pin
jhorstkamp6-Oct-04 7:57
jhorstkamp6-Oct-04 7:57 
GeneralRe: memory leaks with IMPLEMENT_DYNACREATE Pin
Iain Clarke, Warrior Programmer6-Oct-04 12:11
Iain Clarke, Warrior Programmer6-Oct-04 12:11 
GeneralRe: memory leaks with IMPLEMENT_DYNACREATE Pin
jhorstkamp7-Oct-04 8:49
jhorstkamp7-Oct-04 8:49 
Thanks - not sure I understand...

Clicking on one of the memory leak messages in the debug window takes me to:
IMPLEMENT_DYNCREATE(CPalsView, CScrollView)

The next is:
IMPLEMENT_DYNCREATE(CMainFrame, CFrameWnd)

and the last is:
IMPLEMENT_DYNCREATE(CPalsDoc, CDocument)

does this mean that it thinks I (or maybe MFC) has a memory leak in one of these classes?
The only place I see the RUNTIME_CLASS macro is here in the App.InitInstance function:

CSingleDocTemplate* pDocTemplate;
pDocTemplate = new CSingleDocTemplate(
IDR_MAINFRAME,
RUNTIME_CLASS(CPalsDoc),
RUNTIME_CLASS(CMainFrame), // main SDI frame window
RUNTIME_CLASS(CPalsView));
AddDocTemplate(pDocTemplate);

which is of course a memory leak since I can't seem to find a cooresponding delete (unless MFC is handling that in some hidden way) ????

Any comments?







GeneralStatusbar gettext functionality Pin
4apai6-Oct-04 7:40
4apai6-Oct-04 7:40 
GeneralRe: Statusbar gettext functionality Pin
Iain Clarke, Warrior Programmer6-Oct-04 12:07
Iain Clarke, Warrior Programmer6-Oct-04 12:07 
GeneralEsc key how i can stop his job Pin
medlteam6-Oct-04 7:39
medlteam6-Oct-04 7:39 
GeneralRe: Esc key how i can stop his job Pin
David Crow6-Oct-04 8:02
David Crow6-Oct-04 8:02 
GeneralRe: Esc key how i can stop his job Pin
anandforu6-Oct-04 9:02
anandforu6-Oct-04 9:02 
Question#pragma warning(disable:...) does not work? Pin
Bob Stanneveld6-Oct-04 6:33
Bob Stanneveld6-Oct-04 6:33 
AnswerRe: #pragma warning(disable:...) does not work? Pin
David Crow6-Oct-04 7:29
David Crow6-Oct-04 7:29 
GeneralRe: #pragma warning(disable:...) does not work? Pin
Bob Stanneveld6-Oct-04 7:32
Bob Stanneveld6-Oct-04 7:32 
GeneralRe: #pragma warning(disable:...) does not work? Pin
David Crow6-Oct-04 7:58
David Crow6-Oct-04 7:58 
GeneralRe: #pragma warning(disable:...) does not work? Pin
Bob Stanneveld6-Oct-04 9:18
Bob Stanneveld6-Oct-04 9:18 
GeneralRe: #pragma warning(disable:...) does not work? Pin
David Crow6-Oct-04 9:24
David Crow6-Oct-04 9:24 
GeneralRe: #pragma warning(disable:...) does not work? Pin
Bob Stanneveld6-Oct-04 9:26
Bob Stanneveld6-Oct-04 9:26 
GeneralRe: #pragma warning(disable:...) does not work? Pin
David Crow6-Oct-04 9:31
David Crow6-Oct-04 9:31 
GeneralRe: #pragma warning(disable:...) does not work? Pin
Bob Stanneveld6-Oct-04 9:53
Bob Stanneveld6-Oct-04 9:53 
GeneralRe: #pragma warning(disable:...) does not work? Pin
David Crow6-Oct-04 10:04
David Crow6-Oct-04 10:04 
GeneralRe: #pragma warning(disable:...) does not work? Pin
Bob Stanneveld6-Oct-04 10:11
Bob Stanneveld6-Oct-04 10:11 
GeneralSolved! Pin
Bob Stanneveld6-Oct-04 10:19
Bob Stanneveld6-Oct-04 10:19 

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.