找回密码
 加入
搜索
查看: 2326|回复: 1

[系统综合] 请教Services.au3问题[已解决]

[复制链接]
发表于 2012-1-20 09:17:15 | 显示全部楼层 |阅读模式
本帖最后由 ferelove 于 2012-1-20 09:32 编辑
换回AUTOIT_3.3.7.15.1后正常了。估计是SVN原因。
祝大家新年快乐!


今天手痒,将以前AUTOIT_3.3.6.1-2中能正常编译运行的代码拿出来想增加功能,发现代码在SVN最新更新下,不能正常编译了。请教如何解决?谢谢!
#include <Services.au3>
If _Service_Exists("Schedule", "") = 0 Then MsgBox(48, "注意!", "未检测到必须的[计划任务]服务,只能本次有效!", 30)
出错信息:
D:\AutoIt3SVN\UserInclude\Services.au3(61,37) : ERROR: $READ_CONTROL previously declared as a 'Const'.
Global Const $READ_CONTROL = 0x20000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
D:\AutoIt3SVN\UserInclude\Services.au3(62,34) : ERROR: $WRITE_DAC previously declared as a 'Const'.
Global Const $WRITE_DAC = 0x40000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
D:\AutoIt3SVN\UserInclude\Services.au3(63,36) : ERROR: $WRITE_OWNER previously declared as a 'Const'.
Global Const $WRITE_OWNER = 0x80000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
D:\AutoIt3SVN\UserInclude\Services.au3(68,25) : ERROR: $STANDARD_RIGHTS_REQUIRED previously declared as a 'Const'.
                                                                                $WRITE_OWNER )
                                                                                ~~~~~~~~~~~~~~^
D:\AutoIt3SVN\UserInclude\Services.au3(150,14) : ERROR: 琛ㄨ揪寮忛敊璇
Global Const 0
~~~~~~~~~~~~~^
D:\Program Files\NOD32view\AU3\tmp.au3 - 5 error(s), 0 warning(s)
发表于 2012-1-20 09:36:33 | 显示全部楼层
按照提示注释掉就OK啦。
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-11-19 16:28 , Processed in 0.076126 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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