I used to have controller support working. It has stopped working. I have no idea why it has stopped working. LoadLibrary always returns NULL. I'm linking against XInput9_1_0.lib. I'm trying to load xinput1_4.dll and xinput1_3.dll. I've tried using an official Xbox 360 controller and a Logitech F310 both of which support XInput. Can somebody please help?
I've uploaded my code here.