LoadPicture not returning "Handle" correctly.

Issue #79 closed
Winter Laite created an issue

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)

  1. Winter Laite reporter

    Testing the same code, 'MyPic[“Handle”] reported a large negative integer. I am assuming this is correct.

    Marking resolved and closing.

  2. Log in to comment