Search code examples
delphidelphi-5devartodac

Why does OraNet.dcu have no corresponding .pas file?


I have a related post - Assertion failure in DBAccess.pas but thought this was worth asking separately.

We are licensed for the full source-code release of DevArt ODAC but have been experiencing tremendous difficulties performing an upgrade. In the course of investigating this I have noticed that there is no .pas file for OraNet.dcu.

This is making it difficult to establish what the cause of our difficulties is as we cannot fully debug the code.

Also - what is this unit? From its name and the directives in the code it would be reasonable to suppose it is a .NET required unit - not something we are interested in.


Solution

  • There is the Direct DB connection mode implemented in the OraNet.dcu module, and we don't distribute the source code of this module, this limitation is specified at our website (the reference at the bottom of the page). If you don't use the Direct mode, and work via the Oracle client (the OCI mode), you can specify DEFINE NONET in your project settings, in this case, the Direct mode will be unavailable, and this module won't be used.