I'm using Visual C++ 6.0 ...
I create empty project (Win32 App) and new .cpp file:
This gives to errors?Code:#include <afxwin.h> class AppX : public CWinApp { public: BOOL InitInstance() { CFrameWnd *mainWinL = new CframeWnd; mainWinL->Create (NULL, "Main Window Title"); mainWinL->ActivateFrame; return true; } } AppX MyApp;
error C2146: syntax error : missing ';' before identifier 'MyApp'
fatal error C1004: unexpected end of file found
Thank you!