Can anyone explain to me why m_pMainWnd = &uDlg; under the CClassMainApp::InitInstance() function causes the AfxMessageBox() function to stop working. If it is // commented out AfxMessageBox() works fine? Oh and this is in a Dialog based app!
Thanks! Charlie




Reply With Quote