LoadPicture not returning "Handle" correctly.
Issue #79
closed
Test code:
MyPic := LoadPicture(A_Desktop "\MyScreenClip.png")
MsgBox(MyPic["ImageType"])
MsgBox(MyPic["Handle"])
“ImageType” reports as '0', which seems correct.
“Handle” reports as 'Keysharp.Core.Common.GdiHandleHolder' instead of an integer handle.
Comments (4)
-
repo owner -
reporter Testing the same code, 'MyPic[“Handle”] reported a large negative integer. I am assuming this is correct.
Marking resolved and closing.
-
reporter - changed status to resolved
Resolved.
-
reporter - changed status to closed
closed
- Log in to comment
I’ve committed a fix, please test.