Invoke C 高手请解答 Origin调用
HI ALL:在此应用中,打算调用Origin 8.5的ocMath.dll 最基本的功能(任意一个导出函数),但是一直出现DllNotFoundException,并出现
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
查看出错信息为
Unable to load DLL 'ocMath.dll': A dynamic link library (DLL) initialization routine failed. (Exception from HRESULT: 0x8007045A)
查看Dll的汇编代码,也看不出其中的端倪,哪位有相关经验,是不是调用Dll前,需调用别的方法,请多多指教 dll origin initialization exception --------------------编程问答-------------------- 除 --------------------编程问答-------------------- 调用c的dll使用import关键字
补充:.NET技术 , C#