在labview中加载C ++ DLL [英] Load C++ DLL in labview

查看:128
本文介绍了在labview中加载C ++ DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在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.

推荐答案

如果您使用过谷歌,您会找到一些信息,如 this 那个



我理解它的一些记忆不够大或其他东西我snt正确初始化。在labview论坛中试试运气。
If you had use Google you would had found some information like this or that.

As I understand it some memory isnt big enough or something other isnt properly initialized. Try your luck in the labview forums.


这篇关于在labview中加载C ++ DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆