CrystyB
CrystyB

Reputation: 23

Loading a 32-bit dll on a 64-bit server OS

I am trying to use a third-party DLL that is on the 32-bit architecture. I understand that targeting my .NET executable to be 32-bit should help, but unfortunately that DLL has a dependency on "msvcr100.dll" (the C runtime). If i don't provide this dll i get a DllNotFound exception (which i am able to catch at runtime). However, if i also copy the msvcr100.dll with the 3rd party DLL i get the "<ExeName> has stopped working" crash message, and i can't really find out what's wrong.

Is there any way to deploy an official C runtime for 32-bit apps on a 64-bit server OS?

Thank you.

Upvotes: 2

Views: 376

Answers (1)

Robert Jeppesen
Robert Jeppesen

Reputation: 7877

You need to install the 32-bit version of the VC runtime on your 64-bit OS.

You can find it here.

Upvotes: 4

Related Questions