PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Managing errors
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:
  • at run time: the list of libraries (".DLL" files) used by the current WINDEV or WINDEV Mobile application or by the current WEBDEV site. Only the libraries loaded in memory are listed.
  • in test mode: all the libraries installed on the current computer.
Example
// Retrieve the libraries used
LibraryList is string = ListDLL()
// Browse this list
Library is string
Library = ExtractString(LibraryList, firstRank, CR)
WHILE Library <> EOT
// Retrieve the library
Trace(ExtractString(Library, 1, TAB))
// Next library
Library = ExtractString(LibraryList, nextRank, CR)
END
// Retrieve the libraries used
LibraryList is string = ListDLL()
// Browse this list
FOR EACH STRING LibraryPath OF LibraryList SEPARATED BY TAB + CR
// Retrieve the library
Trace(LibraryPath)
END
Syntax
<Result> = ListDLL()
<Result>: Character string
List of libraries (".DLL" files) used by the current application or installed on the current computer, in the following format:
<1st Library> + TAB + CR + <2nd Library> + TAB + CR + ...
+ <X library>
Where <X library> corresponds to the name and full path of library X.
Remarks

Managing errors

ListDLL 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
WINDEVWEBDEV - Server codeReports and Queries wd230vm.dll
Linux wd230vm.so
Windows Mobile wp230vm.dll
Minimum required version
  • Version 10
This page is also available for…
Comments
Exemplo ListDll
Lista_dll is string= ListDLL()
FOR EACH STRING sLista_dll_individual OF Lista_dll SEPARATED BY TAB + CR
ListAdd(LISTE_dll,sLista_dll_individual)
END

//Blog com Video
http://windevdesenvolvimento.blogspot.com.br/2016/01/windev21-curso-215-listdll-lista-dll.html

De matos AMARILDO
Jan. 09 2016