An attempt was made to load a program with an incorrect format.(HRESULT: 0x8007000B) while whole architecture is 32 Bit


I am facing this issue while DLL Importing a 32 bit C++ DLL in Windows Service which is also 32 bit. I have even tried using LoadLibrary method and the issue remains same. The same source code and dll are working perfectly fine on 64 bit systems! Can anyone please help me in this regard? I have gone through majority of SO posts and posting this query after complete research. Each and every Build configuration has already been matched to 32 bit.

asked on Stack Overflow Oct 1, 2018 by Wasim

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0