Einzelnen Beitrag anzeigen

mjustin

Registriert seit: 14. Apr 2008
3.005 Beiträge
 
Delphi 2009 Professional
 
#2

AW: OpenSSL: IdOpenSSLSetLibPath funktioniert nicht

  Alt 27. Jun 2019, 10:38
Als Workaround wird empfohlen die DLLs in das Anwendungsverzeichnis zu legen.

Zitat:
The best solution would be to put all the DLLs in the same directory as the application.
https://stackoverflow.com/a/13256146/80901

Die Ursache scheint zu sein, dass die erste SSL DLL eine Abhängigkeit von einer weiteren hat. Und dann gilt die System Suchreiehnfolge für DLLs:

Zitat:
When your application lives in a different folder from MyDll.dll, those dependencies will not be resolved from the folder that contains MyDll.dll. Instead they are resolved by the system DLL search order.
Michael Justin
habarisoft.com
  Mit Zitat antworten Zitat