Create package for C++Builder

<< Click to Display Table of Contents >>

Navigation:  Programming > Installation > C++Builder Notes >

Create package for C++Builder

Create a package with C++Builder XE

 

Create a new package with File / New / ..

 

Add the file wptools_reg.pas to the package

 

Change the package options, under "Description" select "Designtime only"

 

In the package options, under "Delphi Compiler/Compiling", " OtherOptions" add

        -LUDesignIDE

(Otherwise you will get the message "unit not found: DesignIntf.dcu)

 

Then please add this Packages to "required" - usually found under CBuilder\lib\win32\Release

 

   designide.bpi     .... includes the designtime support

   vcldb.bpi           ....  includes VCL.DBCTRLS.OBJ

 

Under Options / Directories

 

make sure the edit "Intermediate Ouput" is clear, otherwise the OBJ will not be created in the wptools VCL directory.

 

Then  do a BuildAll

 

- if you get a message of a not resolvable external symbol

     "'[ILINK32 Error] __fastcall Wpctrmemo::TWPCustomRtfEdit..."

you probably have an older WPTools Installation in your Search- or Library Path.

 

Please also make sure you do NOT include an older WPTools package (under required)

 

After the package compiled ok, click right in the Project explorer and Install it.

 

 

 

If you use the package project from Demos/H) C++, please copy the project to the directory with all wptools units first.