[Mono-list] msvcr70.dll DllNotFoundException on Linux

Kornél Pál kornelpal at gmail.com
Mon Jul 21 02:33:15 EDT 2008


msvcr70.dll is a native Windows DLL. Mono is only able to use native 
libraries of the host platform.

If you want full compatibility you can try the Windows version of Mono 
under Wine.

Otherwise you should aviod using msvcr70.dll or at least don't use 
functions not supported by libstdc.


phizzzt wrote:
> I have a C# program that is using msvcr70.dll, but Mono can't find this dll
> under Suse Linux. Mono doesn't find it even if it is in the same dir as the
> executable (or in /usr/lib/mono...). Of course, the dll that I copied to
> /usr/lib/mono/1.0 (or 2.0, or 2.1 or the executables dir) is the same one I
> use to build my project under VS2003.
> I have tried to dllmap msvcr70.dll to libstdc.so.6 (or libstdc++.so.6) and
> then I get the error message string "_controlfp" from the thrown exception.
> I have checked the debug output and it seems to be looking for msvcr70.dll
> in the executable dir as well as the usual libmsvcr70.dll, etc.
> Any ideas? Are there a lot of p/invoke calls in this dll? Has anyone
> successfully loaded this dll? 
> Thanks,
> Phizzzt

More information about the Mono-list mailing list