PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the list of libraries (".DLL" files) used by one of the applications currently run. This application can correspond to a WINDEV application, a WINDEV Mobile application or another application.
Note: Only the libraries loaded in memory are listed.
Example
// -- Initialization code of "LIST_App" control
// Add the applications currently run into the "LIST_App" control
ListAdd(LIST_App, ExeListProcess(exePID, exeShortName))

// -- Code for selecting a row in "LIST_App"
// Extract the identifier of the application selected in the list
AppInfo is string = LIST_App[LIST_App]
AppID is string = ExtractString(AppInfo, 1)
// Display the DLLs found in memory in the "LIST_DLL" control
ListAdd(LIST_DLL, ExeListDLL(Val(AppID)))
Syntax
<Result> = ExeListDLL([<Application Identifier>])
<Result>: Character string
List of libraries (".DLL" files) used by the specified application in the following format:
<1st Library> + CR + <2nd Library> + CR + ... + <Nth Library>
Where <X Library> corresponds to:
  • Windows the name and full path of library X.
  • Windows Mobile <X Library> corresponds to the name of library X.
<Application Identifier>: Optional Integer constant
Identifier of the application to use. This identifier is returned by ExeListProcess.
Versions 15 and later
If this parameter is not specified, <Result> will correspond to the list of libraries for the current process.
New in version 15
If this parameter is not specified, <Result> will correspond to the list of libraries for the current process.
If this parameter is not specified, <Result> will correspond to the list of libraries for the current process.
Remarks
ExeListDLL returns no error code. To find out whether an error was generated by this function, use the ErrorOccurred variable. To find out the error details, use ErrorInfo.
Components
WINDEVReports and Queries wd230std.dll
Windows Mobile wp230std.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Exemplo ExeListDll
PROCEDURE lista_processos()
ListAdd(LISTE_processos,ExeListeProcessus(exePID,exeShortName))

//----------------------------------------

PROCEDURE lista_dll_do_processo()
ListDeleteAll(LISTE_dll_processos)
sInformacoes is string = LISTE_processos[LISTE_processos]
sInformacoes_id is string = ExtractString(sInformacoes, 1)
ListAdd(LISTE_dll_processos, ExeListDLL(Val(sInformacoes_id)))

// Blog com Video
http://windevdesenvolvimento.blogspot.com.br/2016/01/windev21-curso-216-exelistedll-lista.html

De matos AMARILDO
Jan. 09 2016