#Region ;**** 参数创建于 ACNWrapper_GUI ****
#PRE_UseX64=n
#PRE_Res_requestedExecutionLevel=None
#EndRegion ;**** 参数创建于 ACNWrapper_GUI ****
;**** 参数创建于 ACNWrapper_GUI ****
RegDM()
Global $DM = ObjCreate("dm.dmsoft")
If IsObj($DM) Then
$ver = $DM.Ver()
ConsoleWrite('当前大漠插件版本:' & $ver & @CRLF)
Else
MsgBox(64, '提示:', '注册大漠插件失败!!!'&$DM.GetLastError())
Exit
EndIf
$Hwnd = $DM.FindWindow("", "记事本")
$Bind = $DM.BindWindow(WinGetHandle('记事本'), 'gdi', 'normal', 'normal', 0)
MsgBox(0, $Hwnd,$Bind )
$array=$DM.GetColor (111,23)
MsgBox(0, '',$array )
Func RegDM()
Local $dm_dll = @ScriptDir & '\dm.dll'
DllCall('E:\PortableSync\Au3Project\Source\大漠\LCG\Plugin\RegDll.dll','int','SetDllPathA','int','E:\PortableSync\Au3Project\Source\大漠\LCG\dm.dll')
;~ RunWait(@ComSpec & ' /c regsvr32 /s "' & $dm_dll & '"', '', @SW_HIDE)
EndFunc ;==>RegDM
绑定窗口用不了,其他的有些是能用的,是假装破解版么,还是使用方法错误? |