JNA调用dll时,dll文件中char[]用strcpy();进行复制就出现以下错误,怎么回事??

#AfatalerrorhasbeendetectedbytheJavaRuntimeEnvironment:##EXCEPTION_ACCESS_VIOLATION(0... # A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0318105b, pid=9064, tid=7704
#
# JRE version: 7.0_17-b02
# Java VM: Java HotSpot(TM) Client VM (23.7-b01 mixed mode, sharing windows-x86 )
# Problematic frame:
# C [testDll5.dll+0x105b] add+0x2b
#
# Core dump written. Default location: E:\workshop\JNA_Test3\hs_err_pid9064.mdmp
#
# An error report file with more information is saved as:
# E:\workshop\JNA_Test3\hs_err_pid9064.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
展开
 我来答
陌上花开伊人5
2013-12-12 · TA获得超过1050个赞
知道小有建树答主
回答量:1441
采纳率:20%
帮助的人:961万
展开全部

你好楼主

DLL文件损坏 或者是丢失的话是可以使用第三方软件来修复的

我用的是腾讯电脑管家  在管家的电脑诊所里面就有个DLL文件的修复工具 

点击一键修复即可  如图

推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式