Running error solution -- exception from hresult: 0x800736b1

Source: Internet
Author: User

How are youProgramAn unmanaged resource is called and runs normally in the open environment and some deployment environments. However, the following error occurs in some deployment environments:ArticleIt may help you, because I am also suffering from him ~~

 

For example, a third-party unmanaged resource is called in your program in the following ways, and runs normally in your development environment, debugging environment, or some deployment environments, however, in some client environments

"Error: Unable to load DLL" mwrf_bj.dll ": the application fails to start due to incorrect application configuration. Re-installing the application may correct this problem. (Exception from: hresult: 0x800736b1)

[Dllimport ( " Mwhrf_bj.dll " , Entrypoint =   " Open_usb " , Setlasterror =   True ,
Charset = Charset. Auto, exactspelling =   False ,
Callingconvention = Callingconvention. stdcall)]
Public   Static   Extern   Int Open_usb ();

 

If this problem occurs, you may reinstall it according to the error prompt, but the result is still the same and cannot run properly.

No, but other machines can run the program. It should be a problem in the client environment. If your program calls some functions written in C ++, will it be that some environments running C ++ are not configured. In fact, in addition. net Framework is a required component. If you call some third-party class libraries, you must add the Visual C ++ Runtime Library, in this way, Visual C ++ Runtime Library is automatically installed in the current environment during installation. After installation, the problem is solved.

 

The following is an introduction to version 2005, corresponding to version 2008 and other information.

Microsoft Visual C ++ 2005 SP1 redistributable package (x86) install the runtime components of the Visual C ++ library required for running applications developed using Visual C ++ on a computer without visual C ++ 2005 installed.

 

 

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.