Using the VCL FireDAC Component in 64-bit C++ Projects

Introduction

If you want to use the List & Label VCL FireDAC component in your 64-bit C++ Builder project, please do so as described below.

Important: Be sure to keep the order given here, otherwise the installation of the component in the IDE Tool Palette will not be possible or errors will occur.

Procedure

Remove the automatically installed component

To prevent errors, the component installed by List & Label Setup should be removed in RAD Studio. To do this, open RAD Studio > Menu > Component > Install Packages and remove the List & Label FireDAC component.

Creating the 32-bit component

Launch RAD Studio command line

In the command line interpreter prompt, go to the \Examples\Delphi\FireDAC\Component\ subdirectory of your List & Label installation. Now enter the following command (replace ?? with your List & Label version).

msbuild ListLabel??Components.dproj

Check if the component was created properly

In the folder C:\Users\Public\Documents\Embarcadero\Studio\??\BPL the component ListLabel??Components.bpl should have been created (replace ?? with your RAD Studio or List & Label version).

Check if the DCU file has been created properly

In the folder C:\Users\Public\Documents\Embarcadero\Studio\??\Dcp the DCU file ListLabel??Components.dcu should have been created (replace ?? with your RAD Studio or List & Label version).

Check if the C++ header files have been created properly

In the folder C:\Users\Public\Documents\Embarcadero\Studio\??\hpp\Win32 the List & Label .hpp files should have been created (replace ?? with your RAD Studio version).

Creating the 64-bit component

Launch RAD Studio command line

In the command line interpreter prompt, go to the \Examples\Delphi\FireDAC\Component\ subdirectory of your List & Label installation. Enter the following command (replace ?? with your List & Label version).

Important: The value of the Platform parameter is case sensitive.

msbuild ListLabel??Components.dproj /p:Platform="Win64"

Optionally, the /p:config=Release parameter can be added here if you want a release version.

Check if the component was created properly

In the folder C:\Users\Public\Documents\Embarcadero\Studio\??\BPL\win64 the component ListLabel??Components.bpl should have been created (replace ?? with your RAD Studio or List & Label version).

Check if the DCU file has been created properly

In the folder C:\Users\Public\Documents\Embarcadero\Studio\?\Dcp\win64 the DCU file ListLabel??Components.dcu should have been created (replace ?? with your RAD Studio or List & Label version).

In the ..\dcp\win64 directory there is also the lib file for the 64-bit version (.a file).

Check if the C++ header files were created properly

In the folder C:\Users\Public\Documents\Embarcadero\Studio\?\hpp\win64 the List & Label .hpp files should have been created (replace ?? with your RAD Studio version).

Installing the component in the Tool Palette

To do this, open RAD Studio > Menu > Component > Install Packages and install the package from the folder C:\Users\Public\Documents\Embarcadero\Studio\?\BPL (replace ?? with your RAD Studio version).

After that, the component should be available in the Tool Palette under the combit group. To use the component, simply drag it onto a form.

© combit GmbH