按照你的写法,运行出现以下错误An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x0 Function name=(N/A) Library=(N/A)NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions.另外 2ndDLL 的testMethod 是不是要 extern 为外部方法,extern 如果需要写应该如何写,是写在c文件还是写在头文件里谢谢
typedef UINT (CALLBACK* PRINT_DLL);也就像给他定义一个类
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x0
Function name=(N/A)
Library=(N/A)NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.另外 2ndDLL 的testMethod 是不是要 extern 为外部方法,extern 如果需要写应该如何写,是写在c文件还是写在头文件里谢谢