Chapter 2 Variables and Identifiers Visual C++ and MFC Fundamentals
return TRUE;
}
};
or:
struct CSimpleApp : public CWinApp
{
BOOL InitInstance();
};
BOOL CSimpleApp::InitInstance()
{
return TRUE;
}
Practical Learning: Building a Simple Application
- Start Microsoft Visual Studio or Microsoft Visual C++
- On the main menu, click File -> New...
- In the Project tab, click Win32 Application
Specify the Name to Windows Fundamentals
Figure 16: New Project - Windows Fundamentals...................................................................
- Click OK