#define _AFXDLL #include "afxwin.h" class COurApp:public CWinApp { public: virtual BOOL InitInstance(); }; class COurWnd:public CFrameWnd { public: // Constructor COurWnd() { Create(0,L "our dumb window application"); } }; BOOL COurApp::InitInstance(void) { m_pMainWnd = new COurWnd; m_pMainWnd->ShowWindow(m_nCmdShow); // ...and display it return TRUE; } COurApp AnApplication;
L
BOOL COurApp::InitInstance(void)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)