Jump to content

Sys2LocateDLL: Difference between revisions

From EDM2
Created page with "==Description== Searches for a DLL by name and returns its fully-qualified path. If a DLL with the given name is currently loaded, that instance of the DLL will be returned. ..."
 
Ak120 (talk | contribs)
mNo edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Description==
Searches for a DLL by name and returns its fully-qualified path.
Searches for a DLL by name and returns its fully-qualified path.


If a DLL with the given name is currently loaded, that instance of the DLL will be returned. Otherwise, standard DLL loading rules (according to the current LIBPATH and/or extended LIBPATH configuration) are used to search for a DLL whose module name matches the one specified.
If a DLL with the given name is currently loaded, that instance of the DLL will be returned. Otherwise, standard DLL loading rules (according to the current LIBPATH and/or extended LIBPATH configuration) are used to search for a DLL whose module name matches the one specified.


==Arguments==
==Arguments==
REXX ARGUMENTS:
# The name of the DLL to search for. (REQUIRED)
  1. The name of the DLL to search for. (REQUIRED)


==Return Values==
==Return Value==
REXX RETURN VALUE:
The fully-qualified path of the DLL, if found; "" otherwise.
  The fully-qualified path of the DLL, if found; "" otherwise.
 
[[Category:RxUtilEx]]

Latest revision as of 00:49, 4 July 2023

Searches for a DLL by name and returns its fully-qualified path.

If a DLL with the given name is currently loaded, that instance of the DLL will be returned. Otherwise, standard DLL loading rules (according to the current LIBPATH and/or extended LIBPATH configuration) are used to search for a DLL whose module name matches the one specified.

Arguments

  1. The name of the DLL to search for. (REQUIRED)

Return Value

The fully-qualified path of the DLL, if found; "" otherwise.