P版,你停止更新<LocalSecurityAuthority.au3>,现在启用了新的<lsasecur.au3>.
以前纯AU3创建服务如果用LSASECUR会提示N多错误,麻烦帮忙修正
E:\编程\B.编程工具\58FLY-SAFE\58FLY-SAFE.au3(78,77) : WARNING: $SE_DEBUG_NAME: 使用前并未进行声明.
Local $aProcess, $hProcess, $hToken, $aPriv[1][2] = [[$SE_DEBUG_NAME,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\编程\B.编程工具\58FLY-SAFE\58FLY-SAFE.au3(192,88) : 错误: 表达式错误
$sBuffer &= "wchar[" & StringLen($aDependencies[$i]) + 1 & "];")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\编程\B.编程工具\58FLY-SAFE\58FLY-SAFE.au3(78,77) : ERROR: $SE_DEBUG_NAME: 未声明的全局变量.
Local $aProcess, $hProcess, $hToken, $aPriv[1][2] = [[$SE_DEBUG_NAME,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\编程\B.编程工具\58FLY-SAFE\58FLY-SAFE.au3(37,59) : ERROR: _LsaOpenService(): undefined function.
$hService = _LsaOpenService($sServiceName, 0xF01FF)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\编程\B.编程工具\58FLY-SAFE\58FLY-SAFE.au3(42,41) : ERROR: _LsaCloseServiceHandle(): undefined function.
_LsaCloseServiceHandle($hService)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\编程\B.编程工具\58FLY-SAFE\58FLY-SAFE.au3(89,39) : ERROR: _OpenProcessToken(): undefined function.
$hToken = _OpenProcessToken(-1)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\编程\B.编程工具\58FLY-SAFE\58FLY-SAFE.au3(90,59) : ERROR: _IsPrivilegeEnabled(): undefined function.
If Not _IsPrivilegeEnabled($hToken, $SE_DEBUG_NAME)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\编程\B.编程工具\58FLY-SAFE\58FLY-SAFE.au3(91,55) : ERROR: _AdjustTokenPrivileges(): undefined function.
_AdjustTokenPrivileges($hToken, $aPriv)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\编程\B.编程工具\58FLY-SAFE\58FLY-SAFE.au3(93,32) : ERROR: _LsaCloseHandle(): undefined function.
_LsaCloseHandle($hToken)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\编程\B.编程工具\58FLY-SAFE\58FLY-SAFE.au3(99,66) : ERROR: _OpenProcess(): undefined function.
$hProcess = _OpenProcess($aProcess[$i][1])
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\编程\B.编程工具\58FLY-SAFE\58FLY-SAFE.au3(135,39) : ERROR: _GetLastError(): undefined function.
Return SetError(_GetLastError()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\编程\B.编程工具\58FLY-SAFE\58FLY-SAFE.au3(199,39) : ERROR: _LsaOpenSCManager(): undefined function.
$hSC = _LsaOpenSCManager("", 2)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
E:\编程\B.编程工具\58FLY-SAFE\58FLY-SAFE.au3 - 11 error(s), 1 warning(s) |