Home > Enterprise >  libeay32.dll and ssleay32.dll need 32 and 64 Bit simultaneously
libeay32.dll and ssleay32.dll need 32 and 64 Bit simultaneously

Time:02-02

I use Delphi Seattle and my application has one 32Bit Exe and another 64Bit Exe. For certain operations like MS Graph API I need these DLL's (libeay32.dll and ssleay32.dll). Both Dll's have the same names, how can I ensure my Exes use the matching Bit's DLL. All my work is in a single folder

I was hoping the 64 bit dll's would not have the name as ...32.dll

CodePudding user response:

You can't have the 32bit and 64bit DLLs in the same folder, since their filenames will clash, as you noted. So, put them in different folders instead, and then at runtime you can have each EXE call Indy's IdOpenSSLSetLibPath() function in the IdSSLOpenSSLHeaders unit to tell Indy which folder to load the DLLs from.

  • Related