[a103]Unfortunate collision of a few things

Discuss the future of the AutoHotkey language
User avatar
nnnik
Posts: 4500
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: [a103]Unfortunate collision of a few things

10 Jul 2019, 03:39

That won't work:
https://www.autohotkey.com/boards/viewtopic.php?f=74&t=48740
Any kind of exception can be triggered and it is not possible for the calling code to check for and then throw appropriate exceptions.
The code you see is put between a caller and a callee for a few reasons.
The caller can make any kind of mistake and it would not be helpful to blame this correctly coded code.

.hasMethod will never be a thing unless we change .__call and all COMObjects on this world.
Recommends AHK Studio

Return to “AutoHotkey Development”

Who is online

Users browsing this forum: No registered users and 105 guests