DLL files didn’t work on a 64 bit OS

Asked By 0 points N/A Posted on -
qa-featured

I testing a program with dll files on a 64 bit OS when I got this error message.  Well, it worked with a 32 bit OS but I needed to run it on a 64 bit OS.  Honestly, I did not know what to do next. What should I do?

Error

An attempt was made to load a program with an incorrect format.

(Exception from HRESULT: 0x8007000B)

SHARE
Answered By 5 points N/A #155191

DLL files didn’t work on a 64 bit OS

qa-featured

Hi Tomlo,

I think  you encounter 32-64 bit compatibility issue and vice versa. You application tried to load a dll that compiled only for a 32 bit environment. If you have the source code of the faulting dll or module then you need to recompile it in order to support 64 bit OS. Normally 32-bit applications can run on 64 bit but  your application it 64 bit ready and one of the components is not. You need to know the component that is causing the error. If is it something can be download from the internet then maybe you can download a 64 bit version of it. You can also contact the software vendor. Tips on how to determine the culprit.

Open Windows Event Log. Look for error events logged by your application. In  most cases, you can see the details of the error on the General tab when you click the event details.

I hope it helps.

Related Questions