JNA调用dll时,dll文件中char[]用strcpy();进行赋值就出现以下错误,怎么回事??
#EXCEPTION_ACCESS_VIOLATION(0xc0000005)atpc=0x03182411,pid=3816,tid=3812##JREversion:...
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x03182411, pid=3816, tid=3812## 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+0x2411] strcat+0x81## Core dump written. Default location: E:\workshop\JNA_Test3\hs_err_pid3816.mdmp## An error report file with more information is saved as:# E:\workshop\JNA_Test3\hs_err_pid3816.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.#
展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询