Ok well.... this is what I have done and it works:
I made a PNG of my image to search
I downloaded and used the x64 version of the DLL
I placed the DLL in the program directory WITH the autoit exe, as this is the first place a program looks for DLLs, confirmed with Procmon from sys internals.
and I used #AutoIt3Wrapper_UseX64=Y
No more errors, thank you.... PS would still be interested to know if there are more recent version of the DLL... I have one that was created on Jan 24 2010 and is 82KB.
Thanks
ok I got to the bottom of my issue, turns out the problem was my dll, I was using the 32 bit, which Im running windows 8.1 which is 64 bit. So the version (32 bit) didnt work, I used the 64 bit and now I have a problem with buffer overruns, access violations etc. I read in the thread I should compile and run as 32 bit, but I and testing by running from SciTE. how can I force it to use the 32 bit while it runs by pressing f5?
Im having the same issue, any resolution to it??
local $x1
Local $y1
local $search = _ImageSearch($ImgDir&"image.PNG",1,$x1,$y1,0)
if $search=1 Then
MouseMove($x1,$y1,3)
MsgBox(0,"Found","Found a recycle bin with stuff here...")
EndIf
running it gives me the error above....