求救关于亦思ycode.dll的问题
各位大侠:帮一个朋友的忙,我这个菜鸟硬着头皮接了一个投票的活。
au3 调用亦思ycode.dll,我在本网站看过。但确实不是太明白。特别是返回值。我看的调用方式看不太懂。
$a = DllCall($dll,"Int","loadcode","Int","0","Int","0","str",$Locacode,"str","");这里是加载验证码识别库
返回$a 就是项目数
$b = DllCall($dll,"Str","outitem","Int","1");这个是返回项目名称
返回$b 就是项目名称
$c = DllCall($dll,"int","Recognitiond","Int","1","Int","0","Int","0","str","","str",$Pic_file);识别
返回 $c 就是识别出来的字符串指针
DllCall("ycode.dll","Int","Writepic","str","code.bmp") ;将验证码图片输出为BMP格式,方便GUI显示
$p = DllStructCreate("char Code",$c)
MsgBox(0,"", DllStructGetData($p,"Code")&" 字符串指针:"&$c&" 指针大小:"&DllStructGetSize($p)&" 错误:"&@Error)
其中DLLCALL中的ycode.dll是如何调用的,不清白。请帮助我一下。谢谢。 DLL就是一个包含很多函数的库,所以要对使用的DLL有相当的了解,比如函数名、调用参数等。 问题是ycode.dll,我怎么才能具体了解这个库呀?
页:
[1]