RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCOMAdminCatalog.GetMultipleComponentsInfo Method

Returns information about COM+ components found in specified .dll files.

Pascal
procedure GetMultipleComponentsInfo(const bstrApplIdOrName: WideString; var varFileNames: PSafeArray; out varCLSIDS: PSafeArray; out varClassNames: PSafeArray; out varFileFlags: PSafeArray; out varComponentFlags: PSafeArray);
C++
__fastcall GetMultipleComponentsInfo(const BSTR bstrApplIdOrName, PSafeArray varFileNames, PSafeArray varCLSIDS, PSafeArray varClassNames, PSafeArray varFileFlags, PSafeArray varComponentFlags);

Call GetMultipleComponentsInfo to obtain information on the objects that a specified set of .dll files make available. 

bstrApplIdOrName specifes the name or GUID of the application to which the .dll files belong. 

varFileNames is an array of WideString values, each of which is the name of a .dll. 

varCLSIDS returns an array of CLSIDs for the COM+ components in the specified .dll files. 

varClassNames returns an array of class names for the component classes in the specified .dll files. 

varFileFlags returns an array of file flags that return information about the specified files. Each entry in the array is built from the following flags: 

FlagValue 

ComAdminFileFlagLoadable1 

ComAdminFileFlagCOM2 

COMAdminFileFlagContainsRS4 

COMAdminFileFlagContainsComp8 

COMAdminFileFlagContainsTLB16 

COMAdminFileFlagSelfReg32 

COMAdminFileFlagSelfUnReg64 

COMAdminFileFlagUnloadableDLL128 

COMAdminFileFlagDoesNotExist256 

COMAdminFileFlagAlreadyInstalled512 

COMAdminFileFlagBadTLB1024 

COMAdminFileFlagGetClassObjFailed2048 

COMAdminFileFlagClassNotAvailable4096 

COMAdminFileFlagRegistrar8192 

COMAdminFileFlagNoRegistrar16384 

COMAdminFileFlagDLLRegsvrFailed32768 

COMAdminFileFlagRegTLBFailed65536 

COMAdminFileFlagRegistrarFailed131072 

COMAdminFileFlagError262144 

varComponentFlags returns an array of file flags that return information about the components in the specified files. Each entry in the array is built from the following flags: 

FlagValue 

COMAdminComponentFlagTypeInfoFound1 

COMAdminComponentCOMPlusPropertiesFound2 

COMAdminComponentProxyFound4 

COMAdminComponentInterfacesFound8 

COMAdminComponentAlreadyInstalled16 

COMAdminComponentNotInApplication32 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!