This may be a stupid question, but here it goes anyway.
I am building a .net windows forms program that needs input from a joystick. I added a reference to the DirectInput dll on my dev machine and the joystick works perfect. When I tried to move my program (and the directx dlls) to my target machine I get errors and a crash because it cant find the assemblies/methods that the joystick uses (immediately after I execute the method that enables the joystick input).
After some googling I determined that maybe I needed to build against Slimdx or SharpDX and distribute whichever one to my target system. But now I am wondering: is this really neccessary? Can I just install the DirectX redistributable and be done with it? What does SharpDX give me that I can't get from using directx ...directly ?
fyi
On my dev machine I added a reference to the DirectInput dll that lives inside a subfolder in the Windows folder. I naively thought I could just copy that dll with my exe and have it work. My dev machine is Win7 and target machine is Server2003.
Thanks for any tips or advice.
p.s. - I post this here because apparently the SharpDX forums are closed.