找回密码
 加入
搜索
查看: 1730|回复: 3

把源文件编译成exe以后,运行出现错误。autoit error:未知函数名

[复制链接]
发表于 2009-10-7 14:33:12 | 显示全部楼层 |阅读模式
本帖最后由 lodas 于 2009-10-13 18:52 编辑

出现这个错误, “autoit error:未知函数名”

我编译个下载程序按照说明文档来编写的。在编译器上运行可以,但是编译成exe以后运行就用问题。
也有可能是下载的文件大造成的,但按F5运行没错啊。

请高手指点。



; Advanced example - downloading in the background
Local $hDownload = InetGet("http://dl1.g-fox.cn/chinaedition/releases/partners/monline/FirefoxChinaEdition-latest.exe", "Mozilla.exe",1, 1)
Do
    Sleep(250)
Until InetGetInfo($hDownload, 2)    ; Check if the download is complete.
Local $nBytes = InetGetInfo($hDownload, 0)
InetClose($hDownload)   ; Close the handle to release resourcs.
MsgBox(0, "", "Bytes read: " & $nBytes)
发表于 2009-10-8 15:15:30 | 显示全部楼层
据Kodin大侠说 是新版 InetGetInfo(反正是Inet系列)的一个bug
发表于 2009-10-12 08:14:39 | 显示全部楼层
最新正式版 的 AU3 的一个BUG(InetGet函数)
换成网上最新的Beta 版就没这个问题
 楼主| 发表于 2009-10-13 18:43:11 | 显示全部楼层
谢谢楼上两位!
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-5-5 03:38 , Processed in 0.083788 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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