Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which midas.dll to use? 32bit datasnap/64bit server

Considering the following: We have a 32 bit Datasnap server installed on a 64 BIT Windows Server

In embarcadero\rad studio\11.00\redist are 2 folders : 32 bit and 64 bit, with in each a midas.dll.

Which file should we put where?

In windows\system32 or windows\syswow64?

like image 313
r_j Avatar asked Jan 27 '26 13:01

r_j


1 Answers

On a 64 bit system:

  • The 64 bit system directory is named System32.
  • The 32 bit system directory is named SysWOW64.

If you must copy a DLL into the system directory, make sure that you copy 32 bit DLLs to the 32 bit system directory, and 64 bit DLLs to the 64 bit system directory. That's essential if you want your application to be able to locate the DLL.

Since your code is 32 bit, you need to use the 32 bit DLL.

However, you should probably place the DLL in the same folder as your executable since the Windows system directory is private and reserved for use by the system. Applications should not modify the system directory.

like image 133
David Heffernan Avatar answered Jan 29 '26 07:01

David Heffernan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!