Opened 4 weeks ago

Last modified 4 weeks ago

#3705 new Bug

Fixed: Assigning objects by reference to COM properties

Reported by: MrCreatoR <mrgeorge.sandler@…> Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


The fix described in the title probably broke new feature added in

Changed: Run-time errors on objects no longer fatal (execution of the script is not halted).

Here is an example that works in 3.3.10.x, but produces fatal error in 3.3.14.x:

$oDict = ObjCreate('Scripting.Dictionary')

$oDict.Add('test', 'ok')
ConsoleWrite($oDict.Item('test') & @CRLF)


;Purpesly remove again not existing item, which will produce fatal error in 3.3.14.x
;Uncomment condition to solve this issue
;If $oDict.Exists('test') Then

Attachments (0)

Change History (1)

comment:1 Changed 4 weeks ago by jchd18

Unless I missed it, it seems that the changelog didn't explicitely mention when COM errors have been reverted to the old benavior: fatal error or user-supplied COM error handler instead of directing COM errors to @error.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as new The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.