After Installing the new Build of ODAC (5.55.1.23) at BCB 6.0
We can not find the Component TVirtualTable in the Component Palette.
Where is it ?
Compiled Program fails too.
We use this component in a lot of applications.
Where is the VirtualTable ?
There is a bug in the current ODAC build for CBuilders (5.55.1.23), which prevents VirtualTable component
from being installed. We have fixed it and this fix will be included in the next ODAC build.
As temporary solution for current build you can register it manually. To do this follow these steps:
1) Using any text editor create new file and save it as "VtReg.pas" in your OdacInstallDir\Lib folder
2) Fill it with the following code and save:
3) Run CBuilder IDE
4) Run IDEMainMenu/Component/Install Component and choose "Into new package" tab
5) Fill "Unit file name" editor with path to VtReg.pas
6) Fill "Package file name editor" with: OdacInstallDir\Lib\VirtTable.bpk
7) Compile and install the package.
CBuilder 5 issues:
Under CBuilder 5, package compilation will fail because you need to add "Dac50.bpi" link to the package.
To do this open VirtTable.cpp file (press Ctrl+F12 and select it) and add
line under
Then build the package and install it. You can do this from "Project Manager" window using popup menu.
8) Now VirtualTable component is available from "Data Access" page of component palette.
from being installed. We have fixed it and this fix will be included in the next ODAC build.
As temporary solution for current build you can register it manually. To do this follow these steps:
1) Using any text editor create new file and save it as "VtReg.pas" in your OdacInstallDir\Lib folder
2) Fill it with the following code and save:
Code: Select all
unit VTReg;
interface
procedure Register;
implementation
uses
Classes, VirtualTable;
procedure Register;
begin
RegisterComponents('Data Access', [TVirtualTable]);
end;
end.
4) Run IDEMainMenu/Component/Install Component and choose "Into new package" tab
5) Fill "Unit file name" editor with path to VtReg.pas
6) Fill "Package file name editor" with: OdacInstallDir\Lib\VirtTable.bpk
7) Compile and install the package.
CBuilder 5 issues:
Under CBuilder 5, package compilation will fail because you need to add "Dac50.bpi" link to the package.
To do this open VirtTable.cpp file (press Ctrl+F12 and select it) and add
Code: Select all
USEPACKAGE("DAC50.bpi");
Code: Select all
USEPACKAGE("vcl50.bpi");
8) Now VirtualTable component is available from "Data Access" page of component palette.