Using WPTOOLS with the C++ personality of DELHI2006

  • Hello,
    I use WPTOOLS 4 in BCB5. I want to use WPTOOLS 4 in the C++ personality of DELPHI 2006.

    The installation with DELPHI W32 is ok (compilation and installation). After the construction of the package, I set the link option of the package at : generate the C++Builder files. The compilation can't be done. An error about an invalid instruction is generated. I had to modify two files : WPTools.pas and WPRich.pas. I have added the line {$DEFINE USECPP}. After, I can instal the component and use it in the C++ personality.
    I can build and run a project using WPTOOLS if I let the option : build with execution packages. I can't build the project if this option is not checked. The linker can't find the file WPDefs.obj. The files WPDefs.hpp and WPDefs.DCU exists. I suppose all the UNIT's for which I had only the .DCU file and not the .PAS file will have the same problem.

    Is there a solution to build an exe without the "build with execution packages" checked ?

    Thanks in advance

    Jean-Marie