C++ Dll in Dependency walker shows IESHIMS.dll and MSVCR110.dll

cdependency-walkerdllimport

I've a dll which I've built in Windows7 (64bit OS) in 'Win32' platform. Unfortunately, when I import this dll in C# code, I encounter:

"

an attempt was made to load a program with an incorrect format
HRESULT: 0x8007000B

" is observed

When I used DependencyWalker for this DLL, it shows IESHIMS.dll and MSVCR110.dll dependency which could not be found.

From where these dlls come from and why my created dll has dependency over these two?
Pl help how can I getg over this?

Note: I've used x86 platform in my C# code.

Best Answer

IEShims.dll is available on Windows Vista or Windows 7 to handle protected-mode Internet Explorer 9 or newer. Further explanation here.

You should be able to obtain a copy from another Windows 7 machine with Internet Explorer 9 or newer. As a quick fix, get the Windows 7 version from http://www.dll-files.com/dllindex/dll-files.shtml?ieshims