Skip to content

Instantly share code, notes, and snippets.

@bstaint bstaint/dm.test.ahk Secret
Last active Dec 10, 2017

Embed
What would you like to do?
#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
You can’t perform that action at this time.