hmm the speed problem is gone for me, idk why it happened, i must have had something else eating the cpu or something without knowing it anyway heres the 64-bit build as requested ^, note however I cant get the 64-bit dll to work. (not even by removing the array [0] part. (then it ALWAYS return false it seems, tho i have just tested it 2 times, could be that i messed up again.) (i merged post here) i may have a hardware-issue, or i was probably allot more tired than i thought while posting above post, or evil chinese hackers mess up my autoit, or some other magic.. now i have no problem getting either 32-bit or 64-bit build to work. ... wth?!??!?!????????? but now i got a friend witch get same problem on both dll's (again, wth??) btw could it be that the DllCall() fails? also heres a stupid workaround for the error that stops compiling, according to the link posted ^, it may help.. $result = DllCall("ImageSearchDLL.dll","str","ImageSearch","int",$x1,"int",$y1,"int",$right,"int",$bottom,"str",$findImage) ; If error exit
if IsArray($result) Then;heres the workaround..
if $result[0]="0" then return 0
Else
if $result="0" then return 0
EndIfImageSearchDLL32-64.dll.rar