Unhandled Exception:System.DllNotFoundException:Unable to load DLL "* *"

Source: Internet
Author: User

 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 "* *"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.