Einzelnen Beitrag anzeigen

Benutzerbild von KodeZwerg
KodeZwerg

Registriert seit: 1. Feb 2018
3.685 Beiträge
 
Delphi 11 Alexandria
 
#2

AW: DLL Side-by-side registration & redirection

  Alt 21. Jun 2018, 18:01
Meine Frage: Gibt es eine Möglichkeit dass ich z.B. die .exe unter .\myApp.exe haben kann und die DLL unter .\fancyLibraries\someDll.dll oder ist das nicht möglich?
Wenn ich das richtig verstehe wäre die Antwort:
Zitat:
It is important to remember that Windows has a strict rule regarding loading DLLs: if the DLL name passed to any of the LoadLibrary* APIs contains a path, even a partial path, Windows will not search for the DLL. It will try the path as requested and quit. If the DLL name contains no path, Windows will try the activation context first then the standard Windows places (application directory, system directories, path etc.)
Gruß vom KodeZwerg
  Mit Zitat antworten Zitat