kw123 发表于 2006-7-4 18:37:07

为何在调试环境下可以运行 Remote panels而在可执行文件下出错?

使用 Remote Panels的时候,在调试--labview7.1环境下可以执行以下 http://192.168.1.41:8000/curves.htm是可以执行的,无论在本地还是在其他计算机上面(当然,其他机器安装了LVRunTimeEng71.exe)。

当把它编译成为可执行文件后 curs.exe就不能出错

<img src="attachments/dvbbs/2006-7/20067410353898169.bmp" 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-7/20067410353898169.bmp\');}" onmousewheel="return imgzoom(this);" alt="" />

当然,在curs.ini文件中的内容是

IsFirstLaunch=False
prefDlgTestData=1234
SnapGridDrawAsLines=1
postScriptLevel2=False
saveFloaterLocations=True
WebServer.LogEnabled=True
WebServer.Enabled=True
WebServer.Port=8000
WebServer.TcpAccess=c+*

让人很不得解,希望高手指点!!

cpubbs 发表于 2006-7-4 23:08:42

这个是WEB 发布的吧兄弟?REMOTE PANEL不用浏览器浏览的!在我们的学习套件中有介绍远程面板的!你把这个端口号去掉,然后你的程序的端口改一下试试兄弟,你调试的时候可能把端口打开了,把调试的服务器关闭,然后把程序EXE的服务器打开,这样试试应该就可以了!

kw123 发表于 2006-7-5 01:12:19

<P>关掉后,然后把地址更改后,结果依然如此!提示错误一样的</P>
页: [1]
查看完整版本: 为何在调试环境下可以运行 Remote panels而在可执行文件下出错?