Vcl.CmAdmCtl.TCOMAdminCatalog.InstallComponent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure InstallComponent(const bstrApplIdOrName: WideString;  const bstrDLL: WideString; const bstrTLB: WideString; const bstrPSDLL: WideString);

C++

void __fastcall InstallComponent(const System::WideString bstrApplIdOrName, const System::WideString bstrDLL, const System::WideString bstrTLB, const System::WideString bstrPSDLL);

Properties

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

Description

Installs a component into a COM+ application, and provides default configuration in the COM+ class registration database (RegDB).

InstallComponent installs all components (COM classes) in a .dll file into a COM+ application, and registers the components in the COM+ class registration database (RegDB) as configured components, providing a default configuration.

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

bstrDLL is the name of the .dll file that implements the component or components.

bstrTLB is the name of the external type library file for the .dll. If the type library is embedded in the .dll, the parameter should be an empty string.

bstrPSDLL is the name of the proxy-stub .dll file. If there is no proxy-stub .dll associated with the component, set this parameter to an empty string.

See Also