HINSTANCE HInst;
+HINSTANCE HPrevInst;
+TCHAR *cmdline;
const char* WndClassName = "GMainWnd";
LRESULT CALLBACK MainWndProc(HWND HWnd, UINT Msg, WPARAM WParam,
LPARAM LParam);
LPTSTR lpCmdLine, int nCmdShow)
{
HInst = HInstance;
+ HPrevInst = HPrevInstance;
+ cmdline = lpCmdLine;
WNDCLASS wc;
memset(&wc, 0, sizeof(WNDCLASS));