Page 1 of 1

Cannot load/find oci.dll

Posted: Wed 03 Nov 2010 09:02
by riwe
I have an application with ODAC 7.0. My developer machine runs at win 7 pro x64. First I installed oracle 11g x64. With this installation OraDeveloper Studio worked fine. But the application with ODAC 7.0 didn't find the oci.dll.

So I uninstalled the oracle 11g x64 and installed oracle 11g x32. Now the OraDeveloper studio is unable to load the oci.dll. The message is "Unable to load d:\oracle\product\11.1.0\bin\oci.dll. Please check that you use 64x version of Oracle client with 64x application." But the application with ODAC 7.0 works fine.

Strange that ODAC works and OraDeveloper Studio does not. Do you have any suggestions?

Thank you in advance

Posted: Wed 03 Nov 2010 09:41
by AlexP
Hello,

This is due to the fact that Delphi doesn't support building x64 applications, so ODAC can work only with a x32 dll. OraDeveloper Studio is a .Net application (building in MS Visual Studio) so it can work with a x64 dll.

Posted: Wed 03 Nov 2010 10:00
by riwe
Is there a workaround? I do not need that OraDeveloper Studio try to access a 64 Bit oci.dll. E.g. a 32 bit mode?

Posted: Wed 03 Nov 2010 13:43
by AlexP
Hello,

If OraDeveloper Studio is installed on a Windows x64 computer it uses x64 .Net Framework and can't work with x32 dll.
You should use both Oracle clients: x64 to work with OraDeveloper Studio and x32 to work with ODAC.