wzx304 发表于 2006-4-9 00:12:36

请教CVI调试问题

请教各位
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="" />
怎么回事啊。明明声明过了,调试说没有声明?

cpubbs 发表于 2006-4-9 05:43:35

一般在系统中,这些面板系统会自己定义的!不用自己重新手工定义的!

huhuyo 发表于 2006-4-9 22:13:45

<P>那是因为你多次定义了mediaHandle这个变量的原因.</P>

wzx304 发表于 2006-4-10 18:55:30

那它说 Undeclared identifier 'mediaHandle'.是怎么回事啊?

huhuyo 发表于 2006-4-11 02:51:21

<P>检查一下mediaHandle这个变量是不是在另外的文件中有定义.</P>
<P>如果是这样,在要使用的文件中申明为外部变量就可以了extern int mediaHandle就可以了.</P>

wzx304 发表于 2006-4-11 19:10:22

<P>谢谢各位!</P>
页: [1]
查看完整版本: 请教CVI调试问题