Changes between Version 2 and Version 3 of Ticket #4083
- Timestamp:
- Mar 29, 2026, 4:41:26 PM (39 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4083 – Description
v2 v3 1 This issue is continuation for: 2 https://www.autoitscript.com/trac/autoit/ticket/3167 3 Please check this repro script: 4 {{{#!autoit 5 1 6 Global $oCOM_ErrorHandler = ObjEvent("AutoIt.Error", _ComErrorHandler) 2 7 … … 8 13 9 14 $oFake.FakeObject = 1 10 ConsoleWrite($oFake.FakeObject.Check2 & @CRLF) ; _ComErrorHandler() is fired 15 16 ConsoleWrite($oFake.FakeObject.Check2 & @CRLF) ; _ComErrorHandler() is fired as this was already fixed in https://www.autoitscript.com/trac/autoit/ticket/3167 17 11 18 $oFake.FakeObject.Check3 = 1 ; _ComErrorHandler() is not fired and AutoIt ends with "Variable must be of type "Object"" 12 19 … … 15 22 ConsoleWrite("! We intercepted a COM Error" & @CRLF) 16 23 EndFunc ;==>_ComErrorHandler 24 }}} 25 26 Disscusion was taken on the forum here: 27 https://www.autoitscript.com/forum/topic/213563-catching-com-errors-when-assigning-a-value-to-chained-object 28 29 ps. 30 sorry for so many edits.
