Solve Error: Unhandled exception at 0x00905a4d in xxx.exe: 0xC0000005: Access violation.

简介:

在使用Visual Studio进行项目开发的时候,有时候会遇到下面这个错误:

Unhandled exception at 0x00905a4d in xxx.exe: 0xC0000005: Access violation

产生这个错误的原因可能是在Visual Studio中链接了后缀为"*.a"的库文件,这种库文件应该是在Linux系统或者是使用MinGW编译时链接的,用VS的话应该链接"*.lib"的库文件,而下载的第三方库中一般会包含"*.def"文件,比如科学计算库libgsl里就有这两个文件libgsl.def和libgslcblas.def,我们可以将其转换为"*.lib"的库文件:

Start the "Visual Studio 2010 command lines"

Goto the gsl lib directory, and type:

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

这会生成libgsl.lib和libgslcblas.lib这两个文件,加到Linker中即可。

本文转自博客园Grandyang的博客,原文链接:Solve Error: Unhandled exception at 0x00905a4d in xxx.exe: 0xC0000005: Access violation.

,如需转载请自行联系原博主。

目录
打赏
0
0
0
0
5351
分享
相关文章
|
10月前
|
单步调试报错 Thread 1: EXC_BAD_ACCESS (code=1, address=0x6565656565)
单步调试报错 Thread 1: EXC_BAD_ACCESS (code=1, address=0x6565656565)
170 0
Failed to obtain GLES 2.x extensions striProcess finished with exit code -1073741819 (0xC0000005)
android studio打开虚拟机时报错信息,解决办法之一(我成功的办法,其他方法试了没用), 打开 设备管理器然后找到你的独显,然后禁用设备,然后再次启动设备就行了,最后再启动你的虚拟机就行了。
196 0
排错-Error--memory violation Exception ACCESS_VIOLATION received解决方
排错-Error--memory violation Exception ACCESS_VIOLATION received解决方
270 0
Dx 1 error; aborting;Conversion to Dalvik format failed with error 1
[2011-11-12 17:10:50 - Todo_list] Dx trouble processing "javax/net/ServerSocketFactory.class": Ill-advised or mistaken usage of a core class (java.
1349 0
Failed to execute script ‘xxx‘ due to unhandled exception:No module named ‘ctypes‘
Failed to execute script ‘xxx‘ due to unhandled exception:No module named ‘ctypes‘
503 0
|
10月前
An unexpected error was encountered while executing a WSL command. Common causes include access righ
An unexpected error was encountered while executing a WSL command. Common causes include access righ
102 0
error: ‘PRIO_PROCESS’ undeclared
error: ‘PRIO_PROCESS’ undeclared
111 0
opiodr aborting process unknown ospid (26147) as a result of ORA-28
今天在log.xml发现如下错误  opiodr aborting process unknown ospid (26147) as a result of ORA-28 --在https://community.
1392 0
ORA-00600: internal error code, arguments: [kcratr_scan_lastbwr]错误处理
机器断电以后,重新启动报如下错误: [oracle@zhuxg ~]$ sqlplus / as sysdbaSQL*Plus: Release 11.2.0.3.
1213 0

热门文章

最新文章

AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等