Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow Can I call another application from my program? Pin
elapid16-Feb-05 10:07
elapid16-Feb-05 10:07 
AnswerRe: How Can I call another application from my program? Pin
Tom Wright16-Feb-05 10:18
Tom Wright16-Feb-05 10:18 
GeneralRe: How Can I call another application from my program? Pin
elapid16-Feb-05 10:25
elapid16-Feb-05 10:25 
GeneralI got it, thank you Pin
elapid16-Feb-05 10:26
elapid16-Feb-05 10:26 
GeneralRe: How Can I call another application from my program? Pin
Anthony_Yio16-Feb-05 22:20
Anthony_Yio16-Feb-05 22:20 
AnswerRe: How Can I call another application from my program? Pin
22491715-Apr-05 1:35
22491715-Apr-05 1:35 
GeneralVrml Pin
Micealgleeson16-Feb-05 9:35
Micealgleeson16-Feb-05 9:35 
GeneralPuzzling Runtime Error Pin
LighthouseJ16-Feb-05 9:06
LighthouseJ16-Feb-05 9:06 
I don't know why I get this error but when I quit my app, I get a runtime error in the file wincore.cpp in a function named CWnd::DefWindowProc on this statement:
return ::CallWindowProc(pfnWndProc, m_hWnd, nMsg, wParam, lParam);

I look at the call stack and it's called inside several layers of uxtheme.dll, comctl32.dll, user32.dll, mfc70.dll, user32.dll again, ntdll.dll, mfc70.dll again, and on down. The last mention of my app is here, the line the error is on is in bold:
BOOL CMainFrame::OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo) {<br />
	// let the view have first crack at the command<br />
	if (m_wndView.OnCmdMsg(nID, nCode, pExtra, pHandlerInfo))<br />
		return TRUE;<br />
<br />
	// otherwise, do default handling<br />
	return CFrameWnd::OnCmdMsg(nID, nCode, pExtra, pHandlerInfo);  //  <---------<br />
}

GeneralRe: Puzzling Runtime Error Pin
Bob Ciora16-Feb-05 10:31
Bob Ciora16-Feb-05 10:31 
GeneralRe: Puzzling Runtime Error Pin
LighthouseJ16-Feb-05 10:46
LighthouseJ16-Feb-05 10:46 
GeneralRe: Puzzling Runtime Error Pin
LighthouseJ16-Feb-05 11:17
LighthouseJ16-Feb-05 11:17 
GeneralRe: Puzzling Runtime Error Pin
Steve Mayfield16-Feb-05 13:47
Steve Mayfield16-Feb-05 13:47 
GeneralRe: Puzzling Runtime Error Pin
Bob Ciora16-Feb-05 14:03
Bob Ciora16-Feb-05 14:03 
GeneralRe: Puzzling Runtime Error Pin
LighthouseJ16-Feb-05 14:26
LighthouseJ16-Feb-05 14:26 
GeneralRe: Puzzling Runtime Error Pin
Steve Mayfield16-Feb-05 14:52
Steve Mayfield16-Feb-05 14:52 
GeneralRe: Puzzling Runtime Error Pin
LighthouseJ16-Feb-05 15:04
LighthouseJ16-Feb-05 15:04 
GeneralRe: Puzzling Runtime Error Pin
Bob Ciora17-Feb-05 0:56
Bob Ciora17-Feb-05 0:56 
GeneralRe: Puzzling Runtime Error Pin
LighthouseJ17-Feb-05 4:01
LighthouseJ17-Feb-05 4:01 
GeneralRe: Puzzling Runtime Error Pin
Bob Ciora17-Feb-05 6:14
Bob Ciora17-Feb-05 6:14 
GeneralRe: Puzzling Runtime Error Pin
Bob Ciora17-Feb-05 6:29
Bob Ciora17-Feb-05 6:29 
GeneralRe: Puzzling Runtime Error Pin
LighthouseJ17-Feb-05 8:34
LighthouseJ17-Feb-05 8:34 
GeneralRe: Puzzling Runtime Error Pin
Bob Ciora18-Feb-05 2:35
Bob Ciora18-Feb-05 2:35 
GeneralRe: Puzzling Runtime Error Pin
LighthouseJ18-Feb-05 5:08
LighthouseJ18-Feb-05 5:08 
GeneralRe: Puzzling Runtime Error Pin
Ryan Binns16-Feb-05 17:45
Ryan Binns16-Feb-05 17:45 
GeneralRe: Puzzling Runtime Error Pin
LighthouseJ16-Feb-05 18:34
LighthouseJ16-Feb-05 18:34 

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.