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


Messages In This Thread
How to solve a problem with unable to load openSLL library under Windows 10 - by ZGabrovski@gmail.com - 02-07-2021, 09:31 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)