I was using ODAC version 9.4.14 and 9.5.15. Today I have installed newest 9.5.17, but it is not backward compatible with 9.5.15, because class TOraServerEnumerator was moved from OraServices to OraServerEnumerator.
On production I must use 9.4.14, because newer versions make some problems (AccessViolation) while closing my application (I didn't figure out yet why). In development I want to use newest version.
So, I need source code compatible both with 9.4.14/9.5.15 and 9.5.17.
For 9.4.14 and 9.5.15 I must use:
Code: Select all
uses OraServices;
...
var Enum: TOraServerEnumerator;
Code: Select all
uses OraServerEnumerator;
...
var Enum: TOraServerEnumerator;
Code: Select all
uses
{$IFDEF ODAC9.5.15}OraServices;{$ENDIF}
{$IFDEF ODAC9.5.17}OraServerEnumerator;{$ENDIF}
...
var Enum: TOraServerEnumerator;
http://forums.devart.com/viewtopic.php?f=5&t=15613
Any ideas?
Best regards,
Tomasz