Hey, I created a dialog base application using the wizard in VS C++ 2008. Haven't added any code my self. When I compile I get a few errors saying that CWinAppEx is undefined.
c:\documents and settings\hussain\my documents\visual studio 2008\projects\ivrengine\ivrengine\ivrengine.h(19) : error C2504: 'CWinAppEx' : base class undefined
c:\documents and settings\hussain\my documents\visual studio 2008\projects\ivrengine\ivrengine\ivrengine.cpp(16) : error C2146: syntax error : missing ';' before identifier 'TheBaseClass'
c:\documents and settings\hussain\my documents\visual studio 2008\projects\ivrengine\ivrengine\ivrengine.cpp(16) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\documents and settings\hussain\my documents\visual studio 2008\projects\ivrengine\ivrengine\ivrengine.cpp(16) : error C2065: 'TheBaseClass' : undeclared identifier
c:\documents and settings\hussain\my documents\visual studio 2008\projects\ivrengine\ivrengine\ivrengine.cpp(17) : error C2248: 'CWinApp::OnHelp' : cannot access protected member declared in class 'CWinApp'
c:\program files\microsoft visual studio 9.0\vc\atlmfc\include\afxwin.h(4953) : see declaration of 'CWinApp::OnHelp'
c:\program files\microsoft visual studio 9.0\vc\atlmfc\include\afxwin.h(4737) : see declaration of 'CWinApp'
c:\documents and settings\hussain\my documents\visual studio 2008\projects\ivrengine\ivrengine\ivrengine.cpp(18) : error C2653: 'TheBaseClass' : is not a class or namespace name
c:\documents and settings\hussain\my documents\visual studio 2008\projects\ivrengine\ivrengine\ivrengine.cpp(49) : error C2653: 'CWinAppEx' : is not a class or namespace name
c:\documents and settings\hussain\my documents\visual studio 2008\projects\ivrengine\ivrengine\ivrengine.cpp(60) : error C3861: 'SetRegistryKey': identifier not found
c:\documents and settings\hussain\my documents\visual studio 2008\projects\ivrengine\ivrengine\ivrengine.cpp(63) : error C2065: 'm_pMainWnd' : undeclared identifier
IvrEngineDlg.cpp
c:\documents and settings\hussain\my documents\visual studio 2008\projects\ivrengine\ivrengine\ivrengine.h(19) : error C2504: 'CWinAppEx' : base class undefined