ahk识别图片中的验证码

damaapi := "E:\FromG\QQFiles\CrackCaptchaAPI.dll"

DllCall("LoadLibrary", "Str", damaapi, "Ptr")

DllCall("CrackCaptchaAPI\Init","str","ahk","str","11a1693ff4905efb4467b9ee000bea4b") ;//初始化

VarSetCapacity(MyStruct,32,0)

;NumPut(123, MyStruct,4,"Char")

login:=DllCall("CrackCaptchaAPI\Login2","str","autohotkey","str","Mima2015")

win:=DllCall("CrackCaptchaAPI\DecodeFileSync","str","E:\FromG\QQFiles\1.png","int","60","int",42,"ptr",&MyStruct) ;上传验证码图片

MsgBox % StrGet(&MyStruct,"cp0")

MsgBox % ErrorLevel "`n" MyStruct "`n" NumGet(win+0,4,"Char") "`n" NumGet(MyStruct,1,"Uint")  "`n" NumGet(MyStruct,0,"Uint")

Return

你可能感兴趣的:(ahk识别图片中的验证码)