Why doesnt this code work I have been following examples from a book I have and some of the functions in it are undefined by my compiler. I am compiling from Microsoft Visual Studio Ultimate and it still wont pick this one up. I just want to learn MFCs but, its like im programming in another language with no rules.
Heres the cpp
m_pMainWindow = new CMainWindow; //the compiler doesnt seem to like this
m_pMainWnd->ShowWindow(m_nCmdShow); // or the parameter in here