Original Post
I am using Directx 9 SDK, but I am including only d3dx8.h and d3d8.h right now(and linking to d3dx8.lib and d3d8.lib). When I try to use D3DXLoadMeshFromX function, the compiler keep linking that function to d3dx9mesh.h instead of d3dx8mesh.h. Since the prototypes of them are different, it keeps giving me errors. How can I fix this?