axmol/test_win32/winmain.cpp

23 lines
454 B
C++

#include "winmain.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;
// HelloWorldApplication app;
// if (app.InitInstance() && app.initCocos2d())
// {
// nRet = app.Run();
// }
return nRet;
}