// winmain.cpp // #define STRICT #include #include "D3DApp.h" //----------------------------------------------------------------------------- // Name: WinMain() // Desc: Entry point to the program. Initializes everything, and goes into a // message-processing loop. Idle time is used to render the scene. //----------------------------------------------------------------------------- INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT ) { CD3DApplication d3dApp; if( FAILED( d3dApp.Create( hInst, strCmdLine ) ) ) return 0; return d3dApp.Run(); }