-
-
Save bstaint/5d2728badb4c51e28fcf1e9a2948e340 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance force | |
Initialize: | |
{ | |
Global dm | |
; 初始化大漠插件 | |
RunWait, regsvr32 /s dm.dll | |
dm := ComObjCreate("dm.dmsoft") | |
ret := DllCall("dmCrack\patch") | |
OutputDebug % dm.Ver() | |
hwnd := dm.FindWindow("Diablo II","") | |
ret := dm.BindWindow(hwnd, "dx2", "dx2", "dx", 0) | |
OutputDebug % "GetLastError: " dm.GetLastError() | |
Return | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment