Solve error:unhandled exception at 0X00905A4D in xxx.exe:0xc0000005:access violation.

Source: Internet
Author: User

When you use Visual Studio for project development, you sometimes encounter the following error:

Unhandled exception at 0X00905A4D in xxx.exe:0xc0000005:access violation

This error can be caused by linking a library file with the suffix "*.a" in Visual Studio, which should be linked to a Linux system or MinGW compile, and the "*.lib" library file should be linked with VS, and the downloaded third-party library will typically contain "*.def" files, such as the Scientific Computing Library LIBGSL, have these two files Libgsl.def and libgslcblas.def, which we can convert to "*.lib" Library files:

Start the "Visual Studio command Lines"
Goto the GSL Lib directory, and type:

Lib/machine:i386/def:libgsl.def
Lib/machine:i386/def:libgslcblas.def

This will generate two files of Libgsl.lib and Libgslcblas.lib, which can be added to the linker.

Solve error:unhandled exception at 0X00905A4D in xxx.exe:0xc0000005:access violation.

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.