Results 1 to 16 of 16

Thread: ImageSearchDLL Not working with VB6.0

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2014
    Posts
    3

    Unhappy ImageSearchDLL Not working with VB6.0

    Hello,
    can somebody help me with ImageSearchDLL to make it work ?
    Here is my code :

    Code:
    Private Declare Function ImageSearch Lib "C:\Users\DragosPc\Desktop\sss\ImageSearchDLL.dll" _
    (ByVal x1 As Integer, ByVal y1 As Integer, ByVal right As Integer, ByVal bottom As Integer, ByVal findImage As String) As String
    
    Private Sub Command1_Click()
    
    Dim result As String
    
    result = ImageSearch(0, 0, 0, 0, "C:\test.bmp")
    
    Debug.Print result
    
    
    End Sub
    And the Debug.Print returns a strange output:
    0 1|%d|%d|%d|%d à?E´ ä³ ä³ e+000 À~PA €ÿÿGAIsProcessorFeaturePresent KERNEL32 1#QNAN 1#INF 1#IND 1#SNAN H P RSDS!›Î1äÉ÷D‡D4Š*/^ c:\imagesearchdll\release\ImageSearchDLL.pdb `D X} ¥ þÿÿÿ Ôÿÿÿ þÿÿÿ Û% ...
    i search and found this thread but didn't help me
    http://www.vbforums.com/showthread.p...ht=imagesearch

    You can download the dll from here : http://spacefighters.rr.nu/download/ImageSearchDLL.dll


    Any ideea ?
    Last edited by dimandragos; Nov 20th, 2014 at 11:11 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width