When you call a C + + DLL using C # code in your project. This problem often occurs: there is no problem running on the developer's own computer, but the following problem occurs when you deploy to a client computer:
unhandled Exception:System.DllNotFoundException:Unable to load DLL "* *": The specified module could not be found .
This problem occurs because the DLL's dependencies are generally missing on the client's computer. Generally the more common missing items are Msvcr1200.dll Msvcp1200.dll. What is missing and needs to be viewed using Dependency Walker . Dependency Walker official website.
Special attention is paid to the 64-bit and 32-bit issues. The missing Msvcr1200.dll for a 64-bit DLL should be found from the C:\Windows\System32 and copied to the DLL directory. The missing Msvcr1200.dll for a 32-bit DLL is to be copied from C:\Windows\SysWOW64.
Unhandled Exception:System.DllNotFoundException:Unable to load DLL "* *"