When I try to compile the ODAC 5.50.0.17 Source, The Compiler returns the following error messages :
C:\temp\ODAC\Source\OraClasses.pas(187) Error: Method 'GetNOTNULL' not found in base class
C:\temp\ODAC\Source\OraClasses.pas(188) Error: Method 'SetNOTNULL' not found in base class
C:\temp\ODAC\Source\OraClasses.pas(614) Error: Method 'SetNOTNULL' not found in base class
C:\temp\ODAC\Source\OraClasses.pas(615) Error: Method 'GetNOTNULL' not found in base class
C:\temp\ODAC\Source\OraConsts.pas(75)
C:\temp\ODAC\Source\OraClasses.pas(929) Fatal: Could not compile used unit 'OraConsts.pas'
Compile Error in ODAC 5.50.0.17
The IDE Version is Borland C++ Builder 6.0 Service pack 2.
I do use Source\CBuilder6\make.bat to rebuilder the ODAC.
The Error lines in OraClasses.pas are :
187 function GetNOTNULL: boolean; override;
188 procedure SetNOTNULL(const Value: boolean); override;
614 procedure SetNOTNULL(FieldNo: word; RecBuf: IntPtr; Value: boolean); override;
615 function GetNOTNULL(FieldNo: word; RecBuf: IntPtr): boolean; override;
I do use Source\CBuilder6\make.bat to rebuilder the ODAC.
The Error lines in OraClasses.pas are :
187 function GetNOTNULL: boolean; override;
188 procedure SetNOTNULL(const Value: boolean); override;
614 procedure SetNOTNULL(FieldNo: word; RecBuf: IntPtr; Value: boolean); override;
615 function GetNOTNULL(FieldNo: word; RecBuf: IntPtr): boolean; override;
There are no any GetNOTNULL or SetNOTNULL functions in ODAC, it seems that there are some corrupted files or another files were linked during the compilation. Please download ODAC again and try to remove all other versions of ODAC (if you have them) or remove paths to them from Delphi search path and Path system variable. Pls. inform us if your problem persists.
Re: Compile Error in ODAC 5.50.0.17
3dhunter wrote:When I try to compile the ODAC 5.50.0.17 Source, The Compiler returns the following error messages :
C:\temp\ODAC\Source\OraClasses.pas(187) Error: Method 'GetNOTNULL' not found in base class
C:\temp\ODAC\Source\OraClasses.pas(188) Error: Method 'SetNOTNULL' not found in base class
C:\temp\ODAC\Source\OraClasses.pas(614) Error: Method 'SetNOTNULL' not found in base class
C:\temp\ODAC\Source\OraClasses.pas(615) Error: Method 'GetNOTNULL' not found in base class
C:\temp\ODAC\Source\OraConsts.pas(75)
C:\temp\ODAC\Source\OraClasses.pas(929) Fatal: Could not compile used unit 'OraConsts.pas'