Hello, I am getting the following error msg:
fatal error C1010: unexpected end of file while looking for precompiled header directive
I am trying to compile the following sample code in Visual C++.NET.
#include <afxwin.h>
class CMainFrame : public CFrameWnd
{
public:
CMainFrame()
{
Create(NULL, "Simple Windows Application");
}
};
class CExerciseApplication: public CWinApp
{
public:
BOOL InitInstance()
{
m_pMainWnd = new CMainFrame;
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->UpdateWindow();
return TRUE;
}
};
CExerciseApplication theApp;
Can you help? Thank you,
Joe
fatal error C1010: unexpected end of file while looking for precompiled header directive
I am trying to compile the following sample code in Visual C++.NET.
#include <afxwin.h>
class CMainFrame : public CFrameWnd
{
public:
CMainFrame()
{
Create(NULL, "Simple Windows Application");
}
};
class CExerciseApplication: public CWinApp
{
public:
BOOL InitInstance()
{
m_pMainWnd = new CMainFrame;
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->UpdateWindow();
return TRUE;
}
};
CExerciseApplication theApp;
Can you help? Thank you,
Joe