OSDN Git Service

暫定登録
[iptd/iPTd.git] / iPTd / iPTd.cpp
1 /**\r
2  * @file iPTd.cpp\r
3  *\r
4  */\r
5 \r
6 #include "stdafx.h"\r
7 #include "iPTd.h"\r
8  \r
9 #include <ry0/iPTd/Controller.h>\r
10 \r
11 /*\r
12  * Win32 \83A\83v\83\8a\83P\81[\83V\83\87\83\93\82Ì\8f\89\8aú\83G\83\93\83g\83\8a\83|\83C\83\93\83g\r
13  */\r
14 int APIENTRY _tWinMain(_In_     HINSTANCE hInstance,\r
15                        _In_opt_ HINSTANCE hPrevInstance,\r
16                        _In_     LPTSTR    lpCmdLine,\r
17                        _In_     int       nCmdShow)\r
18 {\r
19 #if DBG_LEVEL >= 4\r
20     //\83R\83\93\83\\81[\83\8b\82Ì\95\\8e¦\r
21     int hConsle;\r
22     AllocConsole();\r
23     hConsle = _open_osfhandle((long)GetStdHandle(STD_OUTPUT_HANDLE), _O_TEXT);\r
24     *stdout = *_fdopen(hConsle, "w");\r
25     setvbuf(stdout, NULL, _IONBF, 0);\r
26     printf("\83R\83\93\83\\81[\83\8b\95\\8e¦\n");\r
27 #endif\r
28 \r
29     return ApplicationMain(ry0::iPTd::Controller, TEXT("ry0.app.iptd"), hInstance, hPrevInstance, lpCmdLine, nCmdShow);\r
30 }\r
31 \r