Installs event classes from multiple files into a COM+ application.
procedure InstallMultipleEventClasses(const bstrApplIdOrName: WideString; var varFileNames: PSafeArray; var varCLSIDS: PSafeArray);
__fastcall InstallMultipleEventClasses(const BSTR bstrApplIdOrName, PSafeArray varFileNames, PSafeArray varCLSIDS);
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.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!