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

The COM manager is initialized via this method. The method has to be called at the beginning. There are no special options for the ComManager but the general options like -snd 2 can be used.

Option Explicit 
Private WithEvents moComManager As ComManager
               
Public Sub Init()
moComManager.Init "-currentproj"
End Sub

Assignment

COM