cpubbs论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

LabVIEW+单片机学习套件全套教程资料下载[免费]LabVIEW论坛精华列表贴USB0816数据采集卡《LabVIEW宝典》
LabWindows/CVI论坛精华贴NET0816以太网数据采集卡RC0210远程设备授权系统 关闭关停锁定打开设备 户外分布式数据采集
NET1624低速高精度以太网数据采集卡WIFI0824SD无线WIFI网络数据采集卡脱机运行 SD存储 小尺寸微型 串口采集远程采集 安卓 手持移动采集 纪录仪
查看: 1718|回复: 5

请教CVI调试问题

[复制链接]
发表于 2006-4-9 00:12:36 | 显示全部楼层 |阅读模式
请教各位
Undeclared identifier 'mediaHandle'.
  

<img src="attachments/dvbbs/2006-4/20064816115266961.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/2006-4/20064816115266961.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />
怎么回事啊。明明声明过了,调试说没有声明?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2006-4-9 05:43:35 | 显示全部楼层
一般在系统中,这些面板系统会自己定义的!不用自己重新手工定义的!
发表于 2006-4-9 22:13:45 | 显示全部楼层
<>那是因为你多次定义了mediaHandle这个变量的原因.</P>
 楼主| 发表于 2006-4-10 18:55:30 | 显示全部楼层
那它说 Undeclared identifier 'mediaHandle'.是怎么回事啊?
发表于 2006-4-11 02:51:21 | 显示全部楼层
<>检查一下mediaHandle这个变量是不是在另外的文件中有定义.</P>
<>如果是这样,在要使用的文件中申明为外部变量就可以了extern int mediaHandle就可以了.</P>
 楼主| 发表于 2006-4-11 19:10:22 | 显示全部楼层
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|cpubbs论坛. ( 粤ICP备09171248号 )

GMT+8, 2025-4-23 04:55 , Processed in 0.998388 second(s), 6 queries , Gzip On, File On.

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表