Bradsama / padtie

Automatically exported from code.google.com/p/padtie
0 stars 0 forks source link

System.BadImageFormatException: Could not load file or assembly 'Microsoft.DirectX.DirectInput.dll' or one of its dependencies. #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

What version of the product are you using? On what operating system?
Windows 7 64 bit (cracked)

Please provide any additional information below.
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.BadImageFormatException: Could not load file or assembly 
'Microsoft.DirectX.DirectInput.dll' or one of its dependencies.  is not a valid 
Win32 application. (Exception from HRESULT: 0x800700C1)
File name: 'Microsoft.DirectX.DirectInput.dll'
   at PadTie.InputCore.ScanForControllers()
   at PadTie.InputCore..ctor()
   at PadTieApp.PadTieForm.Init()
   at PadTieApp.PadTieForm.PadTieForm_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
PadTieApp
    Assembly Version: 0.0.0.0
    Win32 Version: 0.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Pad%20Tie!/PadTieApp.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
PadTie
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Pad%20Tie!/PadTie.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Original issue reported on code.google.com by indoler...@gmail.com on 15 Aug 2010 at 5:41

GoogleCodeExporter commented 9 years ago
This is because I target Any CPU and MDX does not support 64-bit support, so it 
attempts to load the 32-bit MDX libraries and fails. The next version of Pad 
Tie uses SlimDX instead, which is capable of working with both 32-bit and 
64-bit setups. 

Original comment by wila...@gmail.com on 15 Aug 2010 at 7:54

GoogleCodeExporter commented 9 years ago
Sweet, so just wait then (that was using padtie .1a4)

Original comment by indoler...@gmail.com on 15 Aug 2010 at 7:57

GoogleCodeExporter commented 9 years ago

Original comment by wila...@gmail.com on 16 Aug 2010 at 3:47

GoogleCodeExporter commented 9 years ago
As of 0.1a5 and 0.1b1 we use SlimDX instead of Managed DirectX. You should be 
able to run Pad Tie now even if you use 64-bit Windows. Please let me know if 
you have further issues!

Original comment by wila...@gmail.com on 17 Aug 2010 at 12:58