Jump to content

ImageSearch gives Unterminated String


Recommended Posts

I just found ImageSearch library, very cool! 

But when I tried to test it out I got strange errors, the only one I can't seem to get around is:

Line 46 (File "C:\....\ImageSearchDLL\ImageSearchTest.au3"): 

U1A%a]A%01/4'

Error: Unterminated String.

Thats the error but my script doesn't even have 46 lines so it must be in something its importing, here's the test script:

#include <MsgBoxConstants.au3>
#include "ImageSearchDLL.dll"
#include "ImageSearch.au3"

local $x, $y, $search

$search = _ImageSearch('search.bmp', 0, $x, $y, 0)
if $search = 1 then
    mousemove($x,$y)
EndIf

MsgBox($MB_SYSTEMMODAL, "imagesearch", $x, 10)

its not line 46 in the imageSearch.au3 either. So! my thinking is its a problem with the DLL. 

I'm on windows 7, could it be that imagesearch.dll is not compatible with windows 7??

That would make me quite sad. Can someone help me? Thanks so much!

Capture2.PNG

Edited by LegitStack
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...