doc_and_tools/tools/apps/hg-helper/hg-helper.cpp

29 lines
584 B
C++

// hg-helper.cpp : 定义应用程序的入口点。
//
#include "framework.h"
#include "hg-helper.h"
#include "DlgMain.h"
HMODULE g_my_inst;
int APIENTRY wWinMain(_In_ HINSTANCE hInstance,
_In_opt_ HINSTANCE hPrevInstance,
_In_ LPWSTR lpCmdLine,
_In_ int nCmdShow)
{
UNREFERENCED_PARAMETER(hPrevInstance);
UNREFERENCED_PARAMETER(lpCmdLine);
// TODO: 在此处放置代码。
g_my_inst = hInstance;
{
dlg_main dlg(NULL);
dlg.do_modal(NULL);
}
return 0;
}