A modo de curiosidad, esta es la descripcion que viene en el manual de windows (supongo que para los otros s.o. será parecido, no se) (no lo traduzco, supongo que se entendera lo que significa :) ):
Código C:
Ver originalWhen the
system starts a program that uses load
-time dynamic linking
, it uses the information in the file to locate the names
of the required DLL
(s
).
The system then searches
for the DLLs in the following locations
, in sequence
:
1. The directory that contains the module for the current process.
2. The current directory.
3.
The Windows
system directory.
The GetSystemDirectory
function retrieves the path of this directory.
4. The Windows directory. The GetWindowsDirectory function retrieves the path of this directory.
5. The directories listed in the PATH environment variable.
Saludos
vosk