How to solve a problem with unable to load openSLL library under Windows 10 - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Indy (https://www.atozed.com/forums/forum-8.html) +--- Forum: Indy General Discussion (https://www.atozed.com/forums/forum-9.html) +--- Thread: How to solve a problem with unable to load openSLL library under Windows 10 (/thread-2277.html) |
How to solve a problem with unable to load openSLL library under Windows 10 - ZGabrovski@gmail.com - 02-07-2021 Guys, I had exactly the same problem today with loading of open SSL libraries in my brand new Windows 10 laptop, as described here: https://en.delphipraxis.net/topic/2461-could-not-load-openssl-library/ I took the same executable and the same dll libraries (ssleay32.dll and libeay32.dll) from my old Windows 7 computer, but I received dll handle =0 and LastError returns 193 (Bad exe format bla bla). I spent 2 hours to check if dll is 64 bits ot 32 bits and finally I did dumpbin (from Visual Studio community) to libeay32.dll and was surprices that libeay32.dll expects some other dll's Code: Dump of file c:\DSServer\libeay32.dll and MSVCR120.dll is not available on my new computer. Just copy the file inside my app folder and - voala - it works! RE: How to solve a problem with unable to load openSLL library under Windows 10 - kudzu - 02-07-2021 The first ones are all Windows DLLs. The last one MSVCR120 is VC++ Runtime 12. RE: How to solve a problem with unable to load openSLL library under Windows 10 - rlebeau - 02-09-2021 (02-07-2021, 11:55 PM)kudzu Wrote: The first ones are all Windows DLLs. The last one MSVCR120 is VC++ Runtime 12. The OpenSSL DLLs on Indy's OpenSSL-Binaries repo do not have a dependency on the Visual C++ runtime. Most 3rd party OpenSSL DLLs do. |