SetProcessName

The SetProcessName method sets the name of the process that will contain the IDL object. This can only be called before making the CreateObject call. Once the object is created, the process name cannot be reset and calling this method after CreateObject has no effect.

Syntax

HRESULT SetProcessName([in] BSTR Name)

Parameters

Name

A string containing the name of the process that will contain the IDL object.