The callSubN method of the Dispatch Class contains the following signatures:
callSubN(Object pDispatch, String dispName, Object oArg[])
callSubN(Object pDispatch, int dispid, Object oArg[])
Invokes a method on an ActiveX Automation object.
public static void callSubN(Object pDispatch, String dispName, Object oArg[]);
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 void callSubN(Object pDispatch, int dispid, Object oArg[]);
pDispatch | The Java proxy of the ActiveX Automation object. |
dispid | The identifier of the invoked method. |
oArg | The parameters for the invoked method. |