Setup LibXL in C++ Builder

Please follow the instructions below.


1. Create an import library for C++ Builder (existing lib files are compatible only with Visual Studio) with the following command in the command prompt:

   implib -a libxl.lib libxl.dll
 
Go to your project folder and create the libxl.lib import library file from the existing libxl.dll file:
2. Add the libxl.lib file to your project:
3. Add the include directory to your project (Project -> Options -> Building -> C++ Compiler -> Directories and Conditionals -> Include file search path):
4. Copy libxl.dll from the bin folder to <your_project_directory>\Win32\Debug or <your_project_directory>\Win32\Release folder. If your target is "Windows 64-bit" copy libxl.dll from the bin64 folder.
5. Project is ready for using LibXL functions: