Vcl.CmAdmCtl.TCOMAdminCatalog.InstallMultipleEventClasses

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure InstallMultipleEventClasses(const bstrApplIdOrName: WideString;  var varFileNames: PSafeArray; var varCLSIDS: PSafeArray);

C++

void __fastcall InstallMultipleEventClasses(const System::WideString bstrApplIdOrName, Winapi::Activex::PSafeArray &varFileNames, Winapi::Activex::PSafeArray &varCLSIDS);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.CmAdmCtl.pas
Vcl.CmAdmCtl.hpp
Vcl.CmAdmCtl TCOMAdminCatalog

Description

Installs event classes from multiple files into a COM+ application.

Use InstallMultipleEventClasses to install event classes from multiple self-registering .dll files, each of which holds the dummy implementation of one or more COM+ event classes. There must be a type library to describe the interfaces that the event classes implement, and each event class must have a CLSID and a ProgID.

The dummy implementation of the event class is never actually run. It exists only to register the event class. When the publisher creates the event class, the Events system provides an implementation to send the event to subscribers.

bstrApplIdOrName is the name or GUID that represents the application into which to install the event classes.

varFileNames is an array of strings, where each string is the name of a self-registering .dll file that contains the event classes to install.

varCLSIDS is an array of Variants holding CLSIDs for the event classes to install.

See Also