Skip to content

Instantly share code, notes, and snippets.


bstaint/dm.test.ahk Secret

Last active Dec 10, 2017
What would you like to do?
#SingleInstance force
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()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment