请问在CVI7.0中怎么使用扩展C?
<P>我想在CVI中使用我的采集卡,但我把采集卡的头文件加进去的时候却编译出错,我把LIB文件,DLL文件,头文件都加进去 了,而且我 在VC中加的时候没有出现这种错,但我还是想用CVI来作,因为它处理数据方便一些,问题应该是不认扩展C吧,请高手指教</P><P>头文件见附件</P>
小弟附上全部程序
出错信息出图:
<img src="attachments/dvbbs/2005-5/200552882644917.jpg" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/2005-5/200552882644917.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />
<P>extern "C"必须使用在C++环境中,表示标准C调用</P>
<P>用结构体声明对象,前面必须加struct</P>
<P>修改过的程序见附件</P>
<P>非常感谢Harry!</P>
整了好多天都没整出来的
<P>版主一下就帮我解决了,再次感谢!</P> <P>不用谢,互相帮忙嘛!</P> 1 本帖最后由 ZGJG712 于 2016-8-8 13:59 编辑labwindows/cvi虚拟仪器论坛讨论区
本帖最后由 ZGJG712 于 2016-8-8 13:58 编辑
labwindows/cvi虚拟仪器论坛讨论区
1 1
页:
[1]