tanyinhua 发表于 2014-7-22 18:14:35

LocalSecurityAuthority.au3与ScreenCapture.au3起冲突,该怎么解决?

本帖最后由 tanyinhua 于 2014-7-22 19:39 编辑

LocalSecurityAuthority.au3与ScreenCapture.au3起冲突,两个单独运行都正常,放在一起就会冲突,然后就全是下面这种错误,求指导该如何解决?




"E:\AutoIt\Include\FileConstants.au3"(79,39) : error: $GENERIC_ALL 上一次定义为一个 'Const' 变量..
Global Const $GENERIC_ALL = 0x10000000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"E:\AutoIt\Include\FileConstants.au3"(80,43) : error: $GENERIC_EXECUTE 上一次定义为一个 'Const' 变量..
Global Const $GENERIC_EXECUTE = 0x20000000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"E:\AutoIt\Include\FileConstants.au3"(81,41) : error: $GENERIC_WRITE 上一次定义为一个 'Const' 变量..
Global Const $GENERIC_WRITE = 0x40000000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"E:\AutoIt\Include\FileConstants.au3"(82,40) : error: $GENERIC_READ 上一次定义为一个 'Const' 变量..
Global Const $GENERIC_READ = 0x80000000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"E:\AutoIt\Include\SecurityConstants.au3"(12,75) : error: $SE_ASSIGNPRIMARYTOKEN_NAME 上一次定义为一个 'Const' 变量..
Global Const $SE_ASSIGNPRIMARYTOKEN_NAME = "SeAssignPrimaryTokenPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"E:\AutoIt\Include\SecurityConstants.au3"(13,49) : error: $SE_AUDIT_NAME 上一次定义为一个 'Const' 变量..
Global Const $SE_AUDIT_NAME = "SeAuditPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"E:\AutoIt\Include\SecurityConstants.au3"(14,51) : error: $SE_BACKUP_NAME 上一次定义为一个 'Const' 变量..
Global Const $SE_BACKUP_NAME = "SeBackupPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

tanyinhua 发表于 2014-7-22 20:24:24

自己顶。。。

tanyinhua 发表于 2014-7-22 20:40:41

我直接把冲突的代码给注释了,能正常运行了,但不知道有没有影响功能,我郁闷。。
页: [1]
查看完整版本: LocalSecurityAuthority.au3与ScreenCapture.au3起冲突,该怎么解决?