19 lines
491 B
C++
19 lines
491 B
C++
#include <Windows.h>
|
||
#include<iostream>
|
||
#include"application/Application.h"
|
||
|
||
#pragma comment(linker, "/subsystem:console /entry:wWinMainCRTStartup" )
|
||
|
||
int APIENTRY wWinMain(
|
||
_In_ HINSTANCE hInstance, //本应用程序实例句柄,唯一指代当前程序
|
||
_In_opt_ HINSTANCE hPrevInstance, //本程序前一个实例,一般是null
|
||
_In_ LPWSTR lpCmdLine, //应用程序运行参数
|
||
_In_ int nCmdShow) //窗口如何显示(最大化、最小化、隐藏),不需理会
|
||
{
|
||
Application app(hInstance);
|
||
app.Run();
|
||
return 0;
|
||
}
|
||
|
||
|