本帖最后由 pchome2000 于 2015-2-25 16:10 编辑
调用纯au3保护时程函数后,用搜狗游览器不能打开网页?代码如下:#NoTrayIcon
;~ #RequireAdmin
#Region ;**** 参数创建于 ACNWrapper_GUI ****
#PRE_icon=C:\windows\system32\SHELL32.dll|-1
#PRE_UseUpx=n
#PRE_Compile_Both=y
#PRE_UseX64=y
#PRE_Res_requestedExecutionLevel=None
#EndRegion ;**** 参数创建于 ACNWrapper_GUI ****
#include <Process.au3>
;#include <lsasecur.au3>
#include <ProtectProcess.au3>
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
Dim $Button1, $Button2
;进程保护
_ProtectProcess()
_sUSB_Gui()
Func _sUSB_Gui()
Local $Form1 = GUICreate("控制", 306, 174, -1, -1)
Local $Label1 = GUICtrlCreateLabel(" 控制器", 8, 8, 292, 41, BitOR($SS_CENTER,$SS_CENTERIMAGE))
GUICtrlSetFont(-1, 24, 400, 0, "MS Sans Serif")
$Button1 = GUICtrlCreateButton("运行", 48, 136, 75, 25)
$Button2 = GUICtrlCreateButton("退出", 184, 136, 75, 25)
GUISetState(@SW_SHOW)
EndFunc
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
Case $Button2
Exit
EndSwitch
WEnd
|