#define COMCLIENT // RTS.cpp : Defines the entry point for the application. // #pragma warning (disable:4786) #include #include #include #ifndef GLOBAL_EXTERN #define GLOBAL_EXTERN extern #endif CCommandLineClient *com = NULL; int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nCmdShow) { com = new CCommandLineClient (hInstance); com->ShowWindow (); // com->ListServers (); // com->AttachServer (); // com->DetachServer (); MSG msg; while (GetMessage (&msg,NULL,0,0)) { TranslateMessage (&msg); DispatchMessage (&msg); } delete com; return 0; }