开发者

directinput dll problem

开发者 https://www.devze.com 2023-01-26 04:47 出处:网络
I\'m developing an app in c# that uses directinput... in my dev pc, that there\'s installed directx sdk everything works fine...

I'm developing an app in c# that uses directinput... in my dev pc, that there's installed directx sdk everything works fine... but in another pc that have only directx client installed, the app didn't work.. I added into the folder the dll:

  • Microsoft.DirectX.DirectInput.dll

I need to add someother to let's play???

thanks in advance! the error is this:

directinput dll problem

Is not an application WIn32 valid (Exception from HRESULT: 0x800700C1)

this happens here:

        // Find all the GameControl devices that are attached.
        DeviceList gameControllerList = Manager.GetDevices(DeviceClass.GameControl开发者_运维百科, EnumDevicesFlags.AttachedOnly);


0x800700C1 is ERROR_BAD_EXE_FORMAT

http://technet.microsoft.com/en-us/library/cc782541(WS.10).aspx

I'm guessing you are targetting 64-bit windows and DirectInput is 32-bit only ...

0

精彩评论

暂无评论...
验证码 换一张
取 消