Hi,
I'm trying to get a basic MDI program working.
I create the template through Microsoft Visual Studio 2005, and then
before changing any code i run the program. But it doesn't actually run
it has a AfxMessageBox error.
I've tried the MSDN and other forums but no one has been able to help
me any ideas?
Here is the code that is bugging up:
----ERROR----
1>c:\documents and settings\sketch er\sketcher\ske tcher.cpp(62) : error
C3861: 'AfxMessageBox' : identifier not found
----CODE----
CWinApp::InitIn stance();
// Initialize OLE libraries
if (!AfxOleInit())
{
AfxMessageBox(I DP_OLE_INIT_FAI LED);
return FALSE;
}
AfxEnableContro lContainer();
I'm trying to get a basic MDI program working.
I create the template through Microsoft Visual Studio 2005, and then
before changing any code i run the program. But it doesn't actually run
it has a AfxMessageBox error.
I've tried the MSDN and other forums but no one has been able to help
me any ideas?
Here is the code that is bugging up:
----ERROR----
1>c:\documents and settings\sketch er\sketcher\ske tcher.cpp(62) : error
C3861: 'AfxMessageBox' : identifier not found
----CODE----
CWinApp::InitIn stance();
// Initialize OLE libraries
if (!AfxOleInit())
{
AfxMessageBox(I DP_OLE_INIT_FAI LED);
return FALSE;
}
AfxEnableContro lContainer();
Comment