问题描述
我在c ++中编写了一个dll,以便在Labview中使用它。编译了dll,我可以在Labview中导入它。但是当我尝试使用其中的函数时,它告诉我:错误1097发生在虚函数()中的调用库函数节点.LabVIEW:调用库函数节点调用的外部代码中发生异常。已经破坏了LabVIEW内存。将所有工作保存到新位置并重新启动LabVIEW。
我怀疑因为dll使用了另一个第三方lib,但我该如何添加LAbview中的库正确
我尝试过:
添加libs exe文件夹等。
I've written a dll in c++ in order to use it in Labview. The dll is compiled, and i can import it in Labview. But when i try to use a function in it, it tells me this:"Error 1097 occurred at Call Library Function Node in dummyfunction(). LabVIEW: An exception occurred within the external code called by a Call Library Function Node. The exception might have corrupted the LabVIEW memory. Save any work to a new location and restart LabVIEW".
I suspect because the dll use another third Party lib, but how do i add the libs in LAbview correctly
What I have tried:
Add Libs o the Folder of exe etc.
推荐答案
这篇关于在labview中加载C ++ DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!