axmol/HelloWorld/win32/main.cpp

23 lines
400 B
C++

#include "main.h"
#include "Application.h"
HINSTANCE g_hInstance;
int APIENTRY _tWinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
UNREFERENCED_PARAMETER(hPrevInstance);
UNREFERENCED_PARAMETER(lpCmdLine);
g_hInstance = hInstance;
int nRet = 0;
Application app;
nRet = app.run();
return nRet;
}