I am using C++ Builder.
The latest tDBF, which is tDBF 7.01, does compile and install with XE7.
It does not with 10.2 Tokyo.
I have not been able to correct the errors.
Anyone who knows how to make tDBF work with 10.2 Tokyo?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My work to make tDBF work in 10.2 C++ Builder continues.
I am able to compile tdbf_c10d.bpl but when it tries to link I get: [ilink32 Error] Error: Unresolved external 'InitVCL' referenced from D:\PROGRAM\EMBARCADERO\STUDIO\19.0\LIB\WIN32\RELEASE\CP32MT.LIB|crtlvcl [ilink32 Error] Error: Unresolved external 'ExitVCL' referenced from D:\PROGRAM\EMBARCADERO\STUDIO\19.0\LIB\WIN32\RELEASE\CP32MT.LIB|crtlvcl
I suppose VCL has to be enabled in the project but I cannot find anything in the Project Options related to this.
Anyone who knows how to resolve this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Every time there is a new version of Embarcader we have to modify and build tDBF. Why can we not use the same BPL-file with every version?
I am moving from XE7 to XE10.2
What changes are needed to get a BPL for XE10.2?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Trying to install on Windows 10/ 64bit Delphi 10.2.2. Using pkg: DelphiXE8 see error: [dcc64 Error] dbr.common.inc(520): E1030 Invalid compiler directive: 'error'
This seems to be comming from line:
{$error Neither ENDIAN_LITTLE nor ENDIAN_BIG defined!}
Probably user error as I haven't worked with Delphi in a couple years and just upgraded.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There are now packages for Delphi 10.2 Tokyo.
Be warned though: They compile and install, but I haven't done any tests at all.
Last edit: Thomas Mueller 2017-04-14
I am using C++ Builder.
The latest tDBF, which is tDBF 7.01, does compile and install with XE7.
It does not with 10.2 Tokyo.
I have not been able to correct the errors.
Anyone who knows how to make tDBF work with 10.2 Tokyo?
My work to make tDBF work in 10.2 C++ Builder continues.
I am able to compile tdbf_c10d.bpl but when it tries to link I get:
[ilink32 Error] Error: Unresolved external 'InitVCL' referenced from D:\PROGRAM\EMBARCADERO\STUDIO\19.0\LIB\WIN32\RELEASE\CP32MT.LIB|crtlvcl
[ilink32 Error] Error: Unresolved external 'ExitVCL' referenced from D:\PROGRAM\EMBARCADERO\STUDIO\19.0\LIB\WIN32\RELEASE\CP32MT.LIB|crtlvcl
I suppose VCL has to be enabled in the project but I cannot find anything in the Project Options related to this.
Anyone who knows how to resolve this?
That is good news.
Where do I get the packages?
Every time there is a new version of Embarcader we have to modify and build tDBF. Why can we not use the same BPL-file with every version?
I am moving from XE7 to XE10.2
What changes are needed to get a BPL for XE10.2?
Line 997 of the dbf.pas unit has a typo:
Should be:
procedure TDbf.InternalAddRecord(Buffer: {$ifdef SUPPORT_tRECORDBUFFER} TDbfRecordBuffer{$else}Pointer{$endif}; Append: Boolean); {override virtual abstract from TDataset}
The IfDef is missing the "t" for tRecordBuffer.
On first glance all appears to work well in Delphi 10.2.3 (although I am not using the packages, but doing all my component creation in code).
Trying to install on Windows 10/ 64bit Delphi 10.2.2. Using pkg: DelphiXE8 see error:
[dcc64 Error] dbr.common.inc(520): E1030 Invalid compiler directive: 'error'
This seems to be comming from line:
{$error Neither ENDIAN_LITTLE nor ENDIAN_BIG defined!}
Probably user error as I haven't worked with Delphi in a couple years and just upgraded.
My bad, needed a def entry for version 320 Tokyo in dbf_common.inc basically copying def for "ver300"
Trying to install on delphi X10.2 Tokyo. Don'work...
Ligne de commande dcc32 pour "tdbf.dpk"
c:\program files (x86)\embarcadero\studio\19.0\bin\dcc32.exe -$O- -$W+ --no-config -M -Q -Z -TX.bpl
-AGenerics.Collections=System.Generics.Collections;Generics.Defaults=System.Generics.Defaults;WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;
DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DDEBUG -I"c:\program files (x86)\embarcadero\studio\19.0\lib\Win32\release\FR";"c:\program files
(x86)\embarcadero\studio\19.0\lib\Win32\release";C:\Users\Philippe\Documents\Embarcadero\Studio\19.0\Imports;"c:\program files
(x86)\embarcadero\studio\19.0\Imports";C:\Users\Public\Documents\Embarcadero\Studio\19.0\Dcp;"c:\program files (x86)\embarcadero\studio\19.0\include"
-LEC:\Users\Public\Documents\Embarcadero\Studio\19.0\Bpl -LNC:\Users\Public\Documents\Embarcadero\Studio\19.0\Dcp -NU.\dcu -NSSystem.Win;Data.Win;
Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;System;Xml;Data;Datasnap;Web;Soap;Winapi; -O"c:\program
files (x86)\embarcadero\studio\19.0\lib\Win32\release";C:\Users\Philippe\Documents\Embarcadero\Studio\19.0\Imports;"c:\program files
(x86)\embarcadero\studio\19.0\Imports";C:\Users\Public\Documents\Embarcadero\Studio\19.0\Dcp;"c:\program files (x86)\embarcadero\studio\19.0\include"
-R"c:\program files (x86)\embarcadero\studio\19.0\lib\Win32\release\FR";"c:\program files (x86)\embarcadero\studio\19.0\lib\Win32\release";
C:\Users\Philippe\Documents\Embarcadero\Studio\19.0\Imports;"c:\program files (x86)\embarcadero\studio\19.0\Imports";
C:\Users\Public\Documents\Embarcadero\Studio\19.0\Dcp;"c:\program files (x86)\embarcadero\studio\19.0\include" -U"c:\program files
(x86)\embarcadero\studio\19.0\lib\Win32\release\FR";"c:\program files (x86)\embarcadero\studio\19.0\lib\Win32\release";
C:\Users\Philippe\Documents\Embarcadero\Studio\19.0\Imports;"c:\program files (x86)\embarcadero\studio\19.0\Imports";
C:\Users\Public\Documents\Embarcadero\Studio\19.0\Dcp;"c:\program files (x86)\embarcadero\studio\19.0\include" -K00400000 --description:"TDbf for
Delphi XE8 runtime" -NBC:\Users\Public\Documents\Embarcadero\Studio\19.0\Dcp -NHC:\Users\Public\Documents\Embarcadero\Studio\19.0\hpp\Win32 -NO.\dcu
tdbf.dpk
[dcc32 Erreur] dbf_common.inc(520): E1030 Directive de compilation incorrecte : 'error'
[dcc32 Erreur fatale] dbf_wtil.pas(12): F2613 Unité 'Libc' non trouvée.
Echec
Thank
Philippe
Hi,
Please see this link
https://sourceforge.net/p/tdbf/code/660/tree/trunk/packages/Delphi102/
Thanks