Page 1 of 1

Is ODAC needed to use Unidac with oracle

Posted: Wed 10 Aug 2016 09:21
by albourgz
Hi,
using c++ builder XE10 seattle, unidac 6.3.13, odac 9.7.25.

I converted a project from odac to unidac.
Conversion worked, project works, using odac and oracleuniprovider. All TOraSession have been removed. No TOra component in any dfm/.h anymore.
So I went to project->Options->Packages, and unchecked Devart Ora* packages.
I edited cbproj, removed references to odac* and oraprov230.

I tried to rebuild project, compile works but it fails at linktime for unresolved externals in {odac directory}\lib\win32\ora.obj.
There is no #pragma link "ora" in the project and no #include "ora.hpp".

Where does this reference come from?

Re: Is ODAC needed to use Unidac with oracle

Posted: Thu 11 Aug 2016 09:49
by albourgz
I removed in compiler the references to odac directories ( tools->options->Delphi options->Library->Win32, tools->options->c++ options->Path and directories). Works fine now.

Re: Is ODAC needed to use Unidac with oracle

Posted: Thu 11 Aug 2016 12:00
by MaximG
We are glad to see the problem resolved. Please contact us concerning ODAC and UniDAC usage.