문제

I have application in VB.Net and unmanaged dll. When I run application in my PC it works fine. But when I try to run it in production it gives, 'unable to load dll' error.

In my pc, I have kept .exe and .dll by creating different folder than my actual release folder and it works fine.

My pc is 64 bit machine and production environment is 32 bit.

I have tried all combination like, 'Any Cpu', 'x86', 'Win32', noting seems to work on production machine.

Exe and dll are in same folder, so no need to (I think) worry about path, it is not COM dll, so no need to register (and it is native c++ dll).

I have gone through many questions, used dependency walker as well, still facing problem.

We are using Visual Studio 2012.

Thanks.

도움이 되었습니까?

해결책

Finally I solved problem myself. It was VC++ 12 runtime not installed on production machine.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top