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