The callN method of the Dispatch Class contains the following signatures:
callN(Object pDispatch, String dispName, Object oArg[])
callN(Object pDispatch, int dispid, Object oArg[])
Invokes a method on an ActiveX Automation object.
public static Variant callN(Object pDispatch, String dispName, Object oArg[]);
Returns the Variant returned by the method.
pDispatch | The Java proxy of the ActiveX Automation object. |
dispname | The name of the invoked method. |
oArg | The parameters of the invoked method. |
Invokes a method on an ActiveX Automation object.
public static Variant callN(Object pDispatch, int dispid, Object oArg[]);
Returns the Variant returned by the method.
pDispatch | The Java proxy of the ActiveX Automation object. |
dispid | The identifier of the invoked method. |
oArg | The parameters of the invoked method. |