找回密码
 加入
搜索
查看: 8072|回复: 19

如何得到SYSTEM权限

 火.. [复制链接]
发表于 2009-6-23 14:42:37 | 显示全部楼层 |阅读模式
最近发现360安全卫士文件的权限有些变动(在5.2.0.1006后),只有system和administrators才有完全控制权限,而administrator没有什么操作权限,就想在里面建个文件夹都不可以!
以前的时候为了方便装机,所以都把系统补丁提前下载好了,再用autoit做个小程序给拷贝到360的文件夹中,现在权限改了,程序没有权限了就能再拷贝补丁了,这样一来就有些麻烦了!
有什么办法可以让程序在运行的时候获得system权限啊!
发表于 2009-6-23 14:59:57 | 显示全部楼层
有这种事?360具备病毒特种越来越多了!
把360进程给停掉在试试
发表于 2009-6-23 15:51:44 | 显示全部楼层
本帖最后由 pusofalse 于 2009-6-23 17:11 编辑
#include <LocalSecurityAuthority.au3>

If Not @Compiled Then Exit(Msgbox(48, '', 'Compile first!'))
If $CmdLine[0] = 0 Then
    _CreateProcessAsSystem(@ScriptFullPath, " -System", "WinLogon.exe")
    Exit
EndIf

Msgbox(0, '', "现在是SYSTEM权限,这里加一些操作代码。")
; Codes....
发表于 2009-6-23 17:02:39 | 显示全部楼层
代码很好!pusofalse 是研究权限方面的好手!
发表于 2009-6-25 09:37:43 | 显示全部楼层
是有点麻烦!
 楼主| 发表于 2009-6-25 19:05:35 | 显示全部楼层
谢谢3楼了
谢谢能回复我的问题
不过我把问题反过来做了,以前的装完360后再复制补丁,现在换一下,先复制补丁再装360!
没有把问题反过来想一下,有些时候就是钻牛角尖了!
 楼主| 发表于 2009-6-25 19:05:47 | 显示全部楼层
谢谢3楼了
谢谢能回复我的问题
不过我把问题反过来做了,以前的装完360后再复制补丁,现在换一下,先复制补丁再装360!
没有把问题反过来想一下,有些时候就是钻牛角尖了!
发表于 2010-2-1 18:29:05 | 显示全部楼层
#Region ;**** 参数创建于 ACNWrapper_GUI ****
#AutoIt3Wrapper_outfile=0.exe
#AutoIt3Wrapper_Res_Fileversion=0.0.0.0
#EndRegion ;**** 参数创建于 ACNWrapper_GUI ****
#include <LocalSecurityAuthority.au3>

If Not @Compiled Then Exit(Msgbox(48, '', 'Compile first!'))
If $CmdLine[0] = 0 Then
    _CreateProcessAsSystem(@ScriptFullPath, " -System", "WinLogon.exe")
        Sleep(10000)
    Exit
EndIf

Msgbox(0, '', "现在是SYSTEM权限,这里加一些操作代码。")
; Codes....
ShellExecute("E:\s缴费\使用说明.txt","","E:\s缴费")
为什么我运行了0.exe却可以被结束?他并不是system权限

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?加入

×
发表于 2010-2-2 10:43:24 | 显示全部楼层
为什么我运行了0.exe却可以被结束?他并不是system权限
qixinwb 发表于 2010-2-1 18:29



    因为你没注册。。看http://www.autoitx.com/forum.php ... id=7644076#pid56716,我觉得不是很好用,要改debug
发表于 2010-2-2 10:55:49 | 显示全部楼层
我的  LocalSecurityAuthority.au3 这个文件在 新版本下面总是编译出错啊……
怎么办呢!?
发表于 2010-2-2 10:57:46 | 显示全部楼层
我的  LocalSecurityAuthority.au3 这个文件在 新版本下面总是编译出错啊……
怎么办呢!?
nxbigdaddy 发表于 2010-2-2 10:55



    什么错误啊!?


吧源码仍上来啊
发表于 2010-2-2 11:02:46 | 显示全部楼层
学习了。高手 。。。。
发表于 2010-2-2 21:58:57 | 显示全部楼层
做个机号。以后调用。。
发表于 2010-2-4 16:57:14 | 显示全部楼层
回复 11# kn007




    E:\autoit3\Include\LocalSecurityAuthority.au3(44,109) : ERROR: $SE_CREATE_TOKEN_NAME previously declared as a 'Const'
If Not IsDeclared("SE_CREATE_TOKEN_NAME") Then GLOBAL CONST $SE_CREATE_TOKEN_NAME = "SeCreateTokenPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(45,128) : ERROR: $SE_ASSIGNPRIMARYTOKEN_NAME previously declared as a 'Const'
If Not IsDeclared("SE_ASSIGNPRIMARYTOKEN_NAME") Then GLOBAL CONST $SE_ASSIGNPRIMARYTOKEN_NAME = "SeAssignPrimaryTokenPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(46,106) : ERROR: $SE_LOCK_MEMORY_NAME previously declared as a 'Const'
If Not IsDeclared("SE_LOCK_MEMORY_NAME") Then GLOBAL CONST $SE_LOCK_MEMORY_NAME = "SeLockMemoryPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(47,115) : ERROR: $SE_INCREASE_QUOTA_NAME previously declared as a 'Const'
If Not IsDeclared("SE_INCREASE_QUOTA_NAME") Then GLOBAL CONST $SE_INCREASE_QUOTA_NAME = "SeIncreaseQuotaPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(48,124) : ERROR: $SE_UNSOLICITED_INPUT_NAME previously declared as a 'Const'
If Not IsDeclared("SE_UNSOLICITED_INPUT_NAME") Then GLOBAL CONST $SE_UNSOLICITED_INPUT_NAME = "SeUnsolicitedInputPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(49,118) : ERROR: $SE_MACHINE_ACCOUNT_NAME previously declared as a 'Const'
If Not IsDeclared("SE_MACHINE_ACCOUNT_NAME") Then GLOBAL CONST $SE_MACHINE_ACCOUNT_NAME = "SeMachineAccountPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(50,83) : ERROR: $SE_TCB_NAME previously declared as a 'Const'
If Not IsDeclared("SE_TCB_NAME") Then GLOBAL CONST $SE_TCB_NAME = "SeTcbPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(51,98) : ERROR: $SE_SECURITY_NAME previously declared as a 'Const'
If Not IsDeclared("SE_SECURITY_NAME") Then GLOBAL CONST $SE_SECURITY_NAME = "SeSecurityPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(52,115) : ERROR: $SE_TAKE_OWNERSHIP_NAME previously declared as a 'Const'
If Not IsDeclared("SE_TAKE_OWNERSHIP_NAME") Then GLOBAL CONST $SE_TAKE_OWNERSHIP_NAME = "SeTakeOwnershipPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(53,106) : ERROR: $SE_LOAD_DRIVER_NAME previously declared as a 'Const'
If Not IsDeclared("SE_LOAD_DRIVER_NAME") Then GLOBAL CONST $SE_LOAD_DRIVER_NAME = "SeLoadDriverPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(54,115) : ERROR: $SE_SYSTEM_PROFILE_NAME previously declared as a 'Const'
If Not IsDeclared("SE_SYSTEM_PROFILE_NAME") Then GLOBAL CONST $SE_SYSTEM_PROFILE_NAME = "SeSystemProfilePrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(55,104) : ERROR: $SE_SYSTEMTIME_NAME previously declared as a 'Const'
If Not IsDeclared("SE_SYSTEMTIME_NAME") Then GLOBAL CONST $SE_SYSTEMTIME_NAME = "SeSystemtimePrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(56,132) : ERROR: $SE_PROF_SINGLE_PROCESS_NAME previously declared as a 'Const'
If Not IsDeclared("SE_PROF_SINGLE_PROCESS_NAME") Then GLOBAL CONST $SE_PROF_SINGLE_PROCESS_NAME = "SeProfileSingleProcessPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(57,128) : ERROR: $SE_INC_BASE_PRIORITY_NAME previously declared as a 'Const'
If Not IsDeclared("SE_INC_BASE_PRIORITY_NAME") Then GLOBAL CONST $SE_INC_BASE_PRIORITY_NAME = "SeIncreaseBasePriorityPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(58,118) : ERROR: $SE_CREATE_PAGEFILE_NAME previously declared as a 'Const'
If Not IsDeclared("SE_CREATE_PAGEFILE_NAME") Then GLOBAL CONST $SE_CREATE_PAGEFILE_NAME = "SeCreatePagefilePrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(59,121) : ERROR: $SE_CREATE_PERMANENT_NAME previously declared as a 'Const'
If Not IsDeclared("SE_CREATE_PERMANENT_NAME") Then GLOBAL CONST $SE_CREATE_PERMANENT_NAME = "SeCreatePermanentPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(60,92) : ERROR: $SE_BACKUP_NAME previously declared as a 'Const'
If Not IsDeclared("SE_BACKUP_NAME") Then GLOBAL CONST $SE_BACKUP_NAME = "SeBackupPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(61,95) : ERROR: $SE_RESTORE_NAME previously declared as a 'Const'
If Not IsDeclared("SE_RESTORE_NAME") Then GLOBAL CONST $SE_RESTORE_NAME = "SeRestorePrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(62,98) : ERROR: $SE_SHUTDOWN_NAME previously declared as a 'Const'
If Not IsDeclared("SE_SHUTDOWN_NAME") Then GLOBAL CONST $SE_SHUTDOWN_NAME = "SeShutdownPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(63,89) : ERROR: $SE_DEBUG_NAME previously declared as a 'Const'
If Not IsDeclared("SE_DEBUG_NAME") Then GLOBAL CONST $SE_DEBUG_NAME = "SeDebugPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(64,89) : ERROR: $SE_AUDIT_NAME previously declared as a 'Const'
If Not IsDeclared("SE_AUDIT_NAME") Then GLOBAL CONST $SE_AUDIT_NAME = "SeAuditPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(65,127) : ERROR: $SE_SYSTEM_ENVIRONMENT_NAME previously declared as a 'Const'
If Not IsDeclared("SE_SYSTEM_ENVIRONMENT_NAME") Then GLOBAL CONST $SE_SYSTEM_ENVIRONMENT_NAME = "SeSystemEnvironmentPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(66,112) : ERROR: $SE_CHANGE_NOTIFY_NAME previously declared as a 'Const'
If Not IsDeclared("SE_CHANGE_NOTIFY_NAME") Then GLOBAL CONST $SE_CHANGE_NOTIFY_NAME = "SeChangeNotifyPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(67,118) : ERROR: $SE_REMOTE_SHUTDOWN_NAME previously declared as a 'Const'
If Not IsDeclared("SE_REMOTE_SHUTDOWN_NAME") Then GLOBAL CONST $SE_REMOTE_SHUTDOWN_NAME = "SeRemoteShutdownPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(68,92) : ERROR: $SE_UNDOCK_NAME previously declared as a 'Const'
If Not IsDeclared("SE_UNDOCK_NAME") Then GLOBAL CONST $SE_UNDOCK_NAME = "SeUndockPrivilege"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(134,89) : ERROR: $TOKEN_ADJUST_DEFAULT previously declared as a 'Const'
If Not IsDeclared("TOKEN_ADJUST_DEFAULT") Then GLOBAL CONST $TOKEN_ADJUST_DEFAULT = 0x80
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(135,87) : ERROR: $TOKEN_ADJUST_GROUPS previously declared as a 'Const'
If Not IsDeclared("TOKEN_ADJUST_GROUPS") Then GLOBAL CONST $TOKEN_ADJUST_GROUPS = 0x40
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(136,95) : ERROR: $TOKEN_ADJUST_PRIVILEGES previously declared as a 'Const'
If Not IsDeclared("TOKEN_ADJUST_PRIVILEGES") Then GLOBAL CONST $TOKEN_ADJUST_PRIVILEGES = 0x20
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(137,94) : ERROR: $TOKEN_ADJUST_SESSIONID previously declared as a 'Const'
If Not IsDeclared("TOKEN_ADJUST_SESSIONID") Then GLOBAL CONST $TOKEN_ADJUST_SESSIONID = 0x100
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(138,89) : ERROR: $TOKEN_ASSIGN_PRIMARY previously declared as a 'Const'
If Not IsDeclared("TOKEN_ASSIGN_PRIMARY") Then GLOBAL CONST $TOKEN_ASSIGN_PRIMARY = 0x01
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(139,78) : ERROR: $TOKEN_DUPLICATE previously declared as a 'Const'
If Not IsDeclared("TOKEN_DUPLICATE") Then GLOBAL CONST $TOKEN_DUPLICATE = 0x2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(141,82) : ERROR: $TOKEN_IMPERSONATE previously declared as a 'Const'
If Not IsDeclared("TOKEN_IMPERSONATE") Then GLOBAL CONST $TOKEN_IMPERSONATE = 0x4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(142,70) : ERROR: $TOKEN_QUERY previously declared as a 'Const'
If Not IsDeclared("TOKEN_QUERY") Then GLOBAL CONST $TOKEN_QUERY = 0x8
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(143,85) : ERROR: $TOKEN_QUERY_SOURCE previously declared as a 'Const'
If Not IsDeclared("TOKEN_QUERY_SOURCE") Then GLOBAL CONST $TOKEN_QUERY_SOURCE = 0x10
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(211,79) : ERROR: $GENERIC_READ previously declared as a 'Const'
If Not IsDeclared("GENERIC_READ") Then GLOBAL CONST $GENERIC_READ = 0x80000000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(212,81) : ERROR: $GENERIC_WRITE previously declared as a 'Const'
If Not IsDeclared("GENERIC_WRITE") Then GLOBAL CONST $GENERIC_WRITE = 0x40000000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(213,85) : ERROR: $GENERIC_EXECUTE previously declared as a 'Const'
If Not IsDeclared("GENERIC_EXECUTE") Then GLOBAL CONST $GENERIC_EXECUTE = 0x20000000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\Include\LocalSecurityAuthority.au3(214,77) : ERROR: $GENERIC_ALL previously declared as a 'Const'
If Not IsDeclared("GENERIC_ALL") Then GLOBAL CONST $GENERIC_ALL = 0x10000000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\UserInclude\lookfile.au3(104,103) : WARNING: $pHandList: 使用前并未进行声明.
                                $iResult = _NtClose($hSrc) & _NtClose($hTarget) & _HeapFree($pHandList)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\UserInclude\lookfile.au3(104,103) : ERROR: $pHandList: 未声明的全局变量.
                                $iResult = _NtClose($hSrc) & _NtClose($hTarget) & _HeapFree($pHandList)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\autoit3\test\防删除\l1.au3 - 39 error(s), 1 warning(s)
NAM
发表于 2010-2-4 20:17:38 | 显示全部楼层
呵呵,学习一下。。
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-11-16 21:53 , Processed in 0.085952 second(s), 24 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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