DBX error with running 32-bit app on 64 bit windows

160 Views Asked by At

I am using Delphi Berlin 10.1 to compile an app for Windows 32 bit. When clients use oracle 32 bit instant client on Windows 64 bit, they get this error:

"Could not connect to (DBX Error: driver could not be properly initialized. Client library may be missing, not installed properly, of the wrong version, or the driver may be missing from the system path.)"

A way that I use to fix the problem works for some users:

C:\Windows\SysWOW64\regsvr32 midas.dll
C:\Windows\SysWOW64\regsvr32 dbxora.dl
C:\Windows\System32\regsvr32 midas.dll
C:\Windows\System32\regsvr32 dbxora.dll

But for other 64 bit users I have not found the solution to the DBX error. The app always works correctly on Windows 32 bit. I have compiled the app in 64 bit as well, but some users still get the DBX error. Databases are oracle 12 and 19 connecting from windows clients to unix.

0

There are 0 best solutions below