Microsoft SDK for Java

callSubN

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[])

callSubN(Object pDispatch, String dispName, Object oArg[])

Invokes a method on an ActiveX Automation object.

Syntax

public static void callSubN(Object pDispatch, String dispName, Object oArg[]);

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispName The name of the invoked method.
oArg The parameters of the invoked method.

callSubN(Object pDispatch, int dispid, Object oArg[])

Invokes a method on an ActiveX Automation object.

Syntax

public static void callSubN(Object pDispatch, int dispid, Object oArg[]);

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispid The identifier of the invoked method.
oArg The parameters for the invoked method.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.