dev.nlited.com
login
log out
|
Contact
|
Home
|
>>
WinMain.cpp
<<<< prev
next >>>>
3.2.
Rocket: Paint Method
+
3.2.1.
Globals.h
➪
3.2.2.
WinMain.cpp
3.2.3.
Main.cpp
3.2.4.
Image.cpp
3.2.5.
Game.cpp
3.2.6.
ItemList.cpp
3.2.7.
Item.cpp
2016-01-27 00:48:51 chip Page 1543
📢 PUBLIC
TEXT
WinMain.c
: /*************************************************************************/ /** WinMain.c: Program entry point. **/ /** (C)2013 nlited systems, Chip Doran **/ /*************************************************************************/ #include <Windows.h> #include "Util.h" #include "VerID.h" #include "Globals.h" HINSTANCE ghInst; HMAIN ghMain; int CALLBACK WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR CmdLine, int CmdShow) { int Err= ERR_OK; ghInst= hInst; Print(PRINT_DEBUG,"Rocket %s [%s]",gVerID.BuildStr,gVerID.BuildTime); CoInitializeEx(0,COINIT_MULTITHREADED); SoundMgrCreate(); if(IsErr(Err= MainCreate(&ghMain))) { Err= Error(Err,"WinMain: Unable to create Main window."); } else { MainLoop(ghMain); MainDestroy(ghMain); } SoundMgrDestroy(); CoUninitialize(); return(Err); }
WebV7 (C)2018 nlited | Rendered by tikope in 79.968ms | 3.145.33.230