I'm trying to build old DirectX9 game examples on Visual Studio 2019 but I keep getting the following errors:
![](https://uploads.gamedev.net/forums/monthly_2022_01/6eff881b4c09439c82897cea4676b615.vs_error.png)
I've seen around on various forums that I just need to link dinput8.lib and dxguid.lib to my project. I have but I keep getting the same errors.
Is there anything else I can do?
Thanks