Prequel (-PRE) command for COM

Use the Prequel adapter command (-PRE) to specify if you want one or more methods to be executed before the methods in the type tree.

-PRE [dispid:vartype:data]
Option
Description
[ ]
The brackets surrounding the parameter are required.
:
Required separator.
dispid
Specify a valid dispatch ID (DISPID) property.
vartype
Specify a valid data type. See Supported Data Types for more information.
data
Data type as represented by the text. A string is a sequence of characters; an integer is a sequence of digits, and so on.

For example, to specify a dispatch ID of 3, a data type of BSTR, and text data:

-PRE [3:VT_BSTR:data]
Note: If any properties exist on the command line, the properties are set before executing any other call on the component. If an error is received setting any of the properties, the process is aborted with errors.

See Determining the Dispatch ID for a Method/Property for information on how to determine the dispatch ID for a property.