c++ - Does DirectX9 define something to differentiate versions at preprocessor? -


as visual studio defined _msc_ver, 1700 stands vs2012 while 1800 stands vs2013.

does directx9 define differentiate between (december 2004) , (june 2010)?

not sure, guess d3d_sdk_version , d3dx_sdk_version defines looking for. @ least in example it's used check runtime vs. build versions:

hresult cd3dxmyapplication::initialize(hinstance hinstance,    lpcstr szwindowname, lpcstr szclassname, uint uwidth, uint uheight) {     hresult hr;      if (!d3dxcheckversion(d3d_sdk_version, d3dx_sdk_version))         return e_fail;      //... } 

Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -