Jump to content

Viter

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Viter's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Tyvm got it and now I have this error I realized that the problem is in the second parameter for _BmpSearch ($hFind - Handle to bitmap to find) And I dont understand how I can get an object for it from a file... For example Local $hBmp = _GDIPlus_BitmapCreateFromFile(@ScriptDir & "\2.bmp") Local $hSource = _GDIPlus_BitmapCreateHBITMAPFromBitmap($hBmp) If FileExists(@ScriptDir & "\2.bmp") Then     MsgBox(0, "Info", "2.bmp Exists.") Else     MsgBox(0, "Error", "2.bmp NOT Exists") EndIf If IsObj($hSource) Then     MsgBox(0, "Info", "$weFindit is an object") Else     MsgBox(0, "Info", "$weFindit is NOT an object") EndIf i get Thank you in advance for your response. Apologies if any of the questions seem too silly
  2. I run Example.au3 it just closes when it reaches the line Local $aCords = _BmpSearch($hSource, $hFind) I tried it on 3 different PCs. What am I doing wrong?
×
×
  • Create New...