Returns the list of external components (".WDK" files) used by the current WINDEV or WINDEV Mobile application or by the current WEBDEV site.
Remark: All the external components are listed, whether they are loaded in memory or not.
// Retrieve the components used
MyComponentList is string = ComponentList()
// Browse this list
Component is string
Component = ExtractString(MyComponentList, firstRank, CR)
WHILE Component <> EOT
// Retrieve the component (logical and physical names)
Trace(ExtractString(Component, 1, TAB) + " - " + ExtractString(Component, 2, TAB))
// Next component
Component = ExtractString(MyComponentList, nextRank, CR)
END
Syntax
<Result> = ComponentList()
<Result>: Character string
List of external components (".DLL" files) used by the current application, in the following format:
<Name 1st Component> + TAB + <Path 1st Composant> + CR +
<Name 2nd Component> + TAB + <Path 2nd Composant> + CR + ... +
<Name Nth Component> + TAB + <Path Nth Composant>
where:- <Name X Component> corresponds to the logical name of the external component X.
- <Path X Component> corresponds to the name and full path of the external component X.
Remarks
ComponentList returns no error code. To determine if this function generated an error, use the
ErrorOccurred variable. If an error occurs, you can get more details on the error with
ErrorInfo.