From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



ExtCode.h中的函数Pin, SwapBlock 和 BinSearch重定义错误。



主要软件:
主要软件版本: 6.0
主要软件修正版本: N/A
次要软件: N/A

问题: 我在 LabVIEW中生成一个DLL, 现在我想在 LabWindows/CVI 中使用它。当编译我的程序时,我获得了一个错误信息,提示在 ExtCode.h中的函数Pin, SwapBlockBinSearch 已经被在 toolbox.h中重定义。我不知道该怎样解决这个问题。

解答: 将 ExtCode.h 中的函数标注掉,重新编译您的程序。应该可以正常工作了。

相关链接: KnowledgeBase 1NM99D6Q: External Code for LabVIEW - CIN / DLL - Starting Point

附件:





报告日期: 03/19/2007
最近更新: 03/26/2007
文档编号: 2WF85OUV