[ODE] ODE x64

Andreas Fredriksson deplinenoise at gmail.com
Mon Jun 18 07:19:10 MST 2007


On 6/17/07, Darok Kaminski <darokkaminski at hotmail.com> wrote:
> I have an intel core 2 Duo E6600. My OS is Windows Vista. In a program on
> .Net that uses ode.dll i have the next execption:
> "trying to load a program  with an invalid format. Exception HRESULT:
> 0x8007000B"

Your program assembly (or the ODE .NET wrapper) isn't locked to 32-bit
mode, so when running on a 64-bit O/S it will run in 64-bit mode.
Therefore it can't load the 32-bit DLL.

You could work around this by setting the architecture option for all
involved assemblies to X86 to prevent them from running in 64-bit
mode, that should make the DLL load correctly.

// A


More information about the ODE mailing list