// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers #undef DIRECT3D_VERSION //Defined somewhere in the MFC headers for Direct3D 9+ #define DIRECT3D_VERSION 0x0700 //We must set the correct version here to use old Direct3D #include // MFC core and standard components #include // MFC extensions #ifndef _AFX_NO_AFXCMN_SUPPORT #include // MFC support for Windows Common Controls #endif // _AFX_NO_AFXCMN_SUPPORT