02-07-2021, 09:31 PM
(This post was last modified: 02-07-2021, 09:33 PM by ZGabrovski@gmail.com.)
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
and MSVCR120.dll is not available on my new computer. Just copy the file inside my app folder and - voala - it works!
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!