Invokes a method on the OLE Object; the method has no optional parameters. In the early days of OLE,
the IDispatch interface was not well defined and some applications (mainly Word) did not support
a return value. For these applications, call this method instead of calling
<code>public void invoke(int dispIdMember, Variant[] rgvarg)</code>.
@param dispIdMember the ID of the method as specified by the IDL of the ActiveX Control; the
value for the ID can be obtained using OleAutomation.getIDsOfNames
@param rgvarg an array of arguments for the method. All arguments are considered to be
read only unless the Variant is a By Reference Variant type.
@exception org.eclipse.swt.SWTException <ul>
<li>ERROR_ACTION_NOT_PERFORMED when method invocation fails
</ul>
Invokes a method on the OLE Object; the method has no optional parameters. In the early days of OLE, the IDispatch interface was not well defined and some applications (mainly Word) did not support a return value. For these applications, call this method instead of calling <code>public void invoke(int dispIdMember, Variant[] rgvarg)</code>.
@param dispIdMember the ID of the method as specified by the IDL of the ActiveX Control; the value for the ID can be obtained using OleAutomation.getIDsOfNames
@param rgvarg an array of arguments for the method. All arguments are considered to be read only unless the Variant is a By Reference Variant type.
@exception org.eclipse.swt.SWTException <ul> <li>ERROR_ACTION_NOT_PERFORMED when method invocation fails </ul>