Additional
dbCAP
AnyDAC
ThinDAC
NCOCI8
Topic: Delphi 2006
Delphi 2006
Posted: 2006/07/11 15:43
 
I tried to use the current NCOCI8 in Delphi 2006 and made following changes. Can anyone approve this?

NCOCiDef.inc:

{$ifdef VER180} // Delphi 10
{$define OCI_D3}
{$define OCI_D35}
{$define OCI_D4}
{$define OCI_D5}
{$define OCI_D6}
{$define OCI_D7}
{$define OCI_D9}
{$define OCI_D10}
{$define OCI_DELPHI}
{$endif}

NCOCIReg.pas:

comment: // RegisterLibraryExpert(TOciPLSQLGenExpert.Create);
// RegisterLibraryExpert(TOciCompNamerExpert.Create);

NCoCiFilter.pas, added in line 1567: (Definition for ft2s)

{$IFDEF OCI_D10}
, 'ftFixedWideChar', 'ftWideMemo', 'ftOraTimeStamp', 'ftOraInterval'
{$ENDIF}


NCOCIDb.pas, added in line 1736 (definition of dt2ot)

{$IFDEF OCI_D10}
, otUnknown, otUnknown, otUnknown, otUnknown
{$ENDIF}

Thanks!
RE: Delphi 2006
Posted: 2006/07/11 23:10
 
Hello !

If NCOCI8 works well, then ... well ! I dont see issues in porting NCOCI8 to D2006.

Good luck,
Dmitry