Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to solve a problem with unable to load openSLL library under Windows 10
#1
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-c...l-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

File Type: DLL

  Image has the following dependencies:

    WS2_32.dll
    GDI32.dll
    ADVAPI32.dll
    USER32.dll
    MSVCR120.dll
    KERNEL32.dll

  Summary

       41000 .data
       13000 .pdata
       7C000 .rdata
        5000 .reloc
        1000 .rsrc
      130000 .text

and MSVCR120.dll is not available on my new computer. Just copy the file inside my app folder and - voala - it works!

Reply
#2
The first ones are all Windows DLLs. The last one MSVCR120 is VC++ Runtime 12.
Reply
#3
(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.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)