Click here to Skip to main content
15,505,126 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: AVI Splitter Filter does not return its mediatype Pin
sdancer753-Jul-13 0:58
sdancer753-Jul-13 0:58 
AnswerRe: AVI Splitter Filter does not return its mediatype Pin
sdancer753-Jul-13 3:11
sdancer753-Jul-13 3:11 
QuestionProcess Failure at startup Pin
ForNow2-Jul-13 7:38
ForNow2-Jul-13 7:38 
AnswerRe: Process Failure at startup Pin
Santhosh G_2-Jul-13 8:24
Santhosh G_2-Jul-13 8:24 
GeneralRe: Process Failure at startup Pin
ForNow2-Jul-13 9:42
ForNow2-Jul-13 9:42 
GeneralRe: Process Failure at startup Pin
Santhosh G_2-Jul-13 17:21
Santhosh G_2-Jul-13 17:21 
GeneralRe: Process Failure at startup Pin
ForNow2-Jul-13 18:59
ForNow2-Jul-13 18:59 
QuestionWhere does the m_pMainWnd delete? Pin
yu-jian2-Jul-13 6:54
yu-jian2-Jul-13 6:54 
I have a client system, to create a CMainFrame object, but I am afraid that there will be memory leak about CMainFrame object.After step in, I cannot find where the m_pMainWnd pointer is deleted. Will I delete this pointer in the function
ExitInstance()? Big Grin | :-D

C++
BOOL CApp::InitInstance()
{
	CMainFrame* pMainFrame = new CMainFrame();
	if (!pMainFrame)  return FALSE;
	pMainFrame->LoadFrame(IDR_MAINFRAME,
		WS_OVERLAPPEDWINDOW | FWS_ADDTOTITLE, NULL,
		NULL);
	m_pMainWnd = pMainFrame;
	m_pMainWnd->UpdateWindow();
	return TRUE;
}

int CApp::ExitInstance()
{
	return CWinApp::ExitInstance();
}

AnswerRe: Where does the m_pMainWnd delete? Pin
David Crow2-Jul-13 7:07
David Crow2-Jul-13 7:07 
GeneralRe: Where does the m_pMainWnd delete? Pin
yu-jian2-Jul-13 8:15
yu-jian2-Jul-13 8:15 
QuestionRe: Where does the m_pMainWnd delete? Pin
David Crow2-Jul-13 9:12
David Crow2-Jul-13 9:12 
GeneralRe: Where does the m_pMainWnd delete? Pin
Jochen Arndt2-Jul-13 9:14
professionalJochen Arndt2-Jul-13 9:14 
Questionzero copy in windows Pin
Satya1441-Jul-13 21:20
professionalSatya1441-Jul-13 21:20 
AnswerRe: zero copy in windows Pin
enhzflep2-Jul-13 13:08
enhzflep2-Jul-13 13:08 
AnswerRe: zero copy in windows Pin
Erudite_Eric4-Jul-13 3:23
Erudite_Eric4-Jul-13 3:23 
GeneralRe: zero copy in windows Pin
Satya1448-Jul-13 0:44
professionalSatya1448-Jul-13 0:44 
GeneralRe: zero copy in windows Pin
Erudite_Eric11-Jul-13 7:12
Erudite_Eric11-Jul-13 7:12 
QuestionProblem in returning the used defined data type using structure Pin
Manoj73901-Jul-13 19:48
Manoj73901-Jul-13 19:48 
QuestionProblem in returning the used defined data type using structure Pin
Manoj73901-Jul-13 19:47
Manoj73901-Jul-13 19:47 
QuestionRe: Problem in returning the used defined data type using structure Pin
Richard MacCutchan1-Jul-13 21:42
mveRichard MacCutchan1-Jul-13 21:42 
AnswerRe: Problem in returning the used defined data type using structure Pin
Stefan_Lang3-Jul-13 1:33
mveStefan_Lang3-Jul-13 1:33 
QuestionHow to get the process's DLL module address? Pin
SetHookCurrent1-Jul-13 19:45
SetHookCurrent1-Jul-13 19:45 
AnswerRe: How to get the process's DLL module address? Pin
Richard MacCutchan1-Jul-13 23:08
mveRichard MacCutchan1-Jul-13 23:08 
AnswerRe: How to get the process's DLL module address? Pin
Santhosh G_2-Jul-13 6:37
Santhosh G_2-Jul-13 6:37 
AnswerRe: How to get the process's DLL module address? Pin
Ghosuwa Wogomon2-Jul-13 8:30
Ghosuwa Wogomon2-Jul-13 8:30 

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.