I have a problem. I am trying to make a proxy dll of d3d8.dll using a code from http://www.mikoweb.eu/ as a basis. I want to use function D3DXSaveSurfaceToFile which was introduced in dx8.1 and is present in 9.0. However i dont have directx8.1 sdk to use 8.1 version of the function and the only solution for me is to use 9.0 version. However I can not include "d3dx9tex.h" (where above function is delared) in my code because "d3d8.h" was included in "stdafx.h". When i try to include it i receive pierdylion errors from d3dx9math.h,d3dx9core.h,d3dx9mesh.h,... files, because their architecture is not compatible with "d3d8.h".
Is there a way to use dx9.0 functions in such proxy dll apps?
Is there a way to use dx9.0 functions in such proxy dll apps?