Jump to content

ImageSearch Dll not working on 32bit


Recommended Posts

Hello i got problem with ImageSearchDll.dll

It works for me perfect always I made program which one use a lot of ImageSearch funcs on 64bit.

I got 64bit and i copied to c:/Windows - ImageSearchDll.dll 64bit version

But I encountered some friends got 32bit OS and then if I compile program for 32bit then they put ImageSearchDll.dll 32bit ver on windows dir and program crash when function is call.

it happens always :/

 

How to run this func on 32bit?

Link to comment
Share on other sites

ok now no excuses there are dll files, ImageSearch.au3 funcs and two exe. 64 and 32 compiled u can do it on ur own too

https://mega.nz/#!W0NzzAYD!cCXvZ4s4yIR25VNHv_jxHD-cxm8uvc9L--dTIJkp8Ac

u got these files there too

 

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Outfile=imgSearch 32bit.Exe
#AutoIt3Wrapper_Outfile_x64=imgSearch 64bit.Exe
#AutoIt3Wrapper_Compile_Both=y
#AutoIt3Wrapper_UseX64=y
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <ButtonConstants.au3>
#include <MsgBoxConstants.au3>


#include <ImageSearch.au3>

HotKeySet("h", "search")


Global $x = 0, $y = 0


Func search()
    Local $img = _ImageSearch('img.bmp', 0, $x, $y, 0)
        If $img = 1 Then
            MsgBox("", "", "FOUND IMAGE")
        Else
            MsgBox("", "", "NOT FOUND IMAGE")
        EndIf
EndFunc


While 1
    sleep(200)
WEnd

 

it not working on 32bit but only on 64.

Link to comment
Share on other sites

no no - just copy and paste your code here. I'm not gonna download a rar file just to look at code. When you compile to your 64 bit - we want to see THAT code you compile. Not an example either. The actual code please. Its the only way we can see what is happening and be able to help you.

IMPORTANT: Now seeing how this is for image search and this sort of thing is frequently used for games (and your new) - let me make this clear for you: If this is for a game, please understand game automation is against forum rules. If it is, just say so, a mod will close the thread and it will be the end of it.

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...