请教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="" />
怎么回事啊。明明声明过了,调试说没有声明? 一般在系统中,这些面板系统会自己定义的!不用自己重新手工定义的! <P>那是因为你多次定义了mediaHandle这个变量的原因.</P>
那它说 Undeclared identifier 'mediaHandle'.是怎么回事啊? <P>检查一下mediaHandle这个变量是不是在另外的文件中有定义.</P>
<P>如果是这样,在要使用的文件中申明为外部变量就可以了extern int mediaHandle就可以了.</P> <P>谢谢各位!</P>
页:
[1]