crosire / d3d8to9

A D3D8 pseudo-driver which converts API calls and bytecode shaders to equivalent D3D9 ones.
BSD 2-Clause "Simplified" License
881 stars 78 forks source link

Message box when failed to load d3dx9_43.dll #23

Closed HerMajestyDrMona closed 7 years ago

HerMajestyDrMona commented 7 years ago

Added a message box when d3d8to9 is unable to load d3dx9_43.dll. It asks users to download the Microsoft DirectX® End-User Runtime, and also allows to ignore the warning when the "cancel" button is clicked.

crosire commented 7 years ago

The messagebox text shows a different link compared to what's actually opened. I'd not show the link on the messagebox at all.

Also, don't hardcode the language, better use a language-neutral link like the following: https://www.microsoft.com/download/details.aspx?id=35

HerMajestyDrMona commented 7 years ago

Thanks for reviewing it :) I don't know why I used the offline-installer link in the message box, but not in the ShellExecute function. Now ShellExecute will open the online installer link.