2010-11-27 18:25:31 +08:00
|
|
|
#include "main.h"
|
2011-01-22 16:24:54 +08:00
|
|
|
|
|
|
|
#include "Application.h"
|
2010-11-27 18:25:31 +08:00
|
|
|
|
|
|
|
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;
|
2011-01-22 16:24:54 +08:00
|
|
|
Application app;
|
|
|
|
nRet = app.run();
|
2010-11-27 18:25:31 +08:00
|
|
|
|
|
|
|
return nRet;
|
|
|
|
}
|