1 // nlite.cpp :
\83A
\83v
\83\8a\83P
\81[
\83V
\83\87\83\93\82Ì
\83G
\83\93\83g
\83\8a \83|
\83C
\83\93\83g
\82ð
\92è
\8b`
\82µ
\82Ü
\82·
\81B
5 #include "nlite_include.h"
10 const nlite::CApplicationInfo* appInfo = NULL;
15 static BOOL InitializeNlite(); //
\83A
\83v
\83\8a\83P
\81[
\83V
\83\87\83\93\8f\89\8aú
\89»
16 static VOID FinalizeNlite(); //
\83A
\83v
\83\8a\83P
\81[
\83V
\83\87\83\93\8fI
\97¹
\8f\88\97\9d
17 int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE,
18 LPTSTR lpCmdLine, int nCmdShow)
23 if(_Module.Init(NULL, hInstance) != S_OK){
24 throw AppInitException();
32 _Module.AddMessageLoop(&theLoop);
34 //
\93Æ
\8e©
\83E
\83B
\83\93\83h
\83E
\82ð
\8dì
\90¬
37 wnd.ShowWindow(nCmdShow);
42 _Module.RemoveMessageLoop();
43 } catch(std::exception e){
45 MessageBoxA(NULL,e.what(),"
\83A
\83v
\83\8a\83P
\81[
\83V
\83\87\83\93\83G
\83\89\81[",MB_OK);
54 static BOOL InitializeNlite(){
60 appInfo = &CApplicationInfo::getInstance();
63 }catch (AppInitException e){