Found solution using DX NuGet Package. Thanks.
Develop DirectX 9 games in Visual Studio 2022
I am wondering if it is possible to develop DirectX 9 games in Visual Studio 2022? I have downloaded the directx_Jun2010_redist.exe. I have installed it to a new directory in the C:\Program Files (x86)\Microsoft SDKs\ directory. I have downloaded files for the 'Introduction to 3D Game Programming with DirectX 9.0c A Shader Approach' text. When I try running these projects in Visual Studio 2022, the compiler returns error C1083: Cannot open include file errors for the '#include <d3dx9.h>' and '#include <dxerr9.h>' statements. It does successfully link to '#include <d3d9.h>'.
I have tried including the install directory in View->Property Page with no luck. I am more comfortable using '#pragma comment' but these statements do not work either for the two headers experiencing problems.
Any suggestions?
Thanks, Matt