XInputDotNet icon indicating copy to clipboard operation
XInputDotNet copied to clipboard

XInputInterface not found for Xbox One build

Open alexandreMarie opened this issue 8 years ago • 7 comments

Hi everyone.

I'm trying to use XInputDotNet on Xbox One and unfortunately all the dll's are presents in the executable folder but when the console launch the .exe I have the following error

"DLLNotFoundException: Unable to load DLL "XInputInterface" : The specified module could not be found. (Exception from HRESULT 0x8007007E)

alexandreMarie avatar Apr 26 '17 12:04 alexandreMarie

For Xbox One, you would probably need to rebuild XInputInterface.dll yourself as it's built for Windows, not Xbox One. Just opening the solution and adding the right platform should do the trick. However, I don't know how the plugins work for Xbox One so you'll to find that yourself in the documentation. By that last sentence, I mean that I don't know how the Plugins should be organised for Xbox One.

speps avatar Apr 27 '17 12:04 speps

I rebuid it, it works perfectly if I add the XInputInterface manually with the Xbox browser. I'll be back when we succesfully configure the project and make the automatically DLL copy works.

Thanks for your quick reply

alexandreMarie avatar May 02 '17 09:05 alexandreMarie

@alexandreMarie I'm hitting this same issue, any luck finding a way to fix this? Can you describe your workaround? What do you mean by "Xbox Browser"?

hsuchil avatar Jul 26 '17 01:07 hsuchil

@hsuchil Hopefully this helps you and anyone else with this problem.

Building the DLL in VS definitely helped some of my issues. You'll need the DirectX SDK to do so. (Latest version is from June 2010) You can search for it or use this link here

It looks like Microsoft just removed the download from their site, but that is a cached link from Google and still works for me at least.

BE SURE to uninstall any existing 2010 C++ redis you have. Otherwise the DirectX SDK install will fail or act weird if it does install. You can safely re-install the latest 2010 redis after the SDK is installed.

You also need a few components installed in VS, namely the C++. If anything is missing it'll notify you if you close/reopen the project after a failed build. Just putting all this here since I've never done it before now and would have been easier if there was some guide for this. Make sure you Build Solution and not Deploy/Debug, just Build the DLL and then move it to your project. Working so far for me :)

gdespaux avatar Aug 26 '17 04:08 gdespaux

Hi,

i have a same issue.

Anyone can upload the modified dll please? I can't figuring out what need to change in vs to work.

Fnatic91 avatar Sep 03 '17 11:09 Fnatic91

Hi,

Its working fine in unity but cant make work on xbox :/ anyone can help me pelase?

Fnatic91 avatar Nov 01 '17 17:11 Fnatic91

@Sybere it truly is better to do without it. I had so many issues even after getting it to work that I removed the library.

The problem is that if you manage to "just make it work" then all it will take is one update to break and you'll be reworking it all over again.

gdespaux avatar Nov 01 '17 17:11 gdespaux