Invokes a method on the OLE Object; the method has no 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
public void invoke(int dispIdMember)
.
@param dispIdMember the ID of the method as specified by the IDL of the ActiveX Control; thevalue for the ID can be obtained using OleAutomation.getIDsOfNames
@exception SWTException
- ERROR_ACTION_NOT_PERFORMED when method invocation fails