COM - Init()
Initializes (starts) the COM manager.
Synopsis
HRESULT Init([in] BSTR sCmdLine);
Parameter
Parameter | Description |
---|---|
sCmdLine | Options for the manager (for example, -PROJ name). |
Description
This method is used to initialize the COM Manager. The method must be called at the beginning. There are no specific options for the COM Manager, but the general options such as -snd 2 can be used.
Option Explicit
Private WithEvents moComManager As ComManager
Public Sub Init()
moComManager.Init "-currentproj"
End Sub