Modify

Opened 17 years ago

Closed 13 years ago

#134 closed Feature Request (No Bug)

Add support for COM events to take ByRef parameters

Reported by: Valik Owned by: Valik
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:

Description

We need to support objects being passed to COM events by reference. The attached script contains an example using Word. The comments at the top explain how to use the script and what to expect.

Attachments (1)

WordByRefTest.au3 (727 bytes) - added by Valik 17 years ago.

Download all attachments as: .zip

Change History (5)

Changed 17 years ago by Valik

comment:1 Changed 16 years ago by Jpm

  • Owner set to Valik
  • Severity set to None
  • Status changed from new to assigned

comment:2 Changed 15 years ago by ProgAndy

any news on this? Maybe extend the syntax like this:
$o_object.Run($s_MacroName, ObjByRef $v_Arg1)

comment:3 Changed 15 years ago by Valik

It's not a syntax issue, it's a technical issue.

comment:4 Changed 13 years ago by trancexx

  • Resolution set to No Bug
  • Status changed from assigned to closed

We do support this for some time now.

Attached code have logical error. Run method of that object doesn't take parameters byref (in sense that it advertise altering the content).

Last edited 13 years ago by trancexx (previous) (diff)

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

Action
as closed The owner will remain Valik.
Author


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

 
Note: See TracTickets for help on using tickets.