Chapter 3: Windows Resources Visual C++ and MFC Fundamentals
- Click Finish
- In the Solution Explorer, Resource View, or Class View, right-click the Resources
node and click Properties - Specify that you want to Use MFC as a Shared DLL for your application and click
OK - Add a new item as a C++ file and name it Exercise
- Change its content as follows:
#include <afxwin.h>
class CResApp : public CWinApp
{
public:
BOOL InitInstance();
};
BOOL CResApp::InitInstance()
{
return TRUE;
}