Jump to content
Sign in to follow this  
WillH

question about imagesearch.au3 and DLL

Recommended Posts

WillH

basically what i want to know is can i call the dll from a different directory?

basically instead of:

$result = DllCall("ImageSearchDLL.dll","str","ImageSearch","int",$x1,"int",$y1,"int",$right,"int",$bottom,"str",$findImage)

can i do somthin like:

$result = DllCall("@ScriptDir\data\ImageSearchDLL.dll","str","ImageSearch","int",$x1,"int",$y1,"int",$right,"int",$bottom,"str",$findImage)

....cause ive tried and i just get an error :(

Share this post


Link to post
Share on other sites
WillH

oh geeze, thank you soo much!! that makes perfect sense lol

Share this post


Link to post
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
Sign in to follow this  

×