I get a linker error when trying to link a BCB6 application with BES 6.5.

Abstract: I get a linker error when trying to link a BCB6 application with BES 6.5.

Product: Borland C++Builder 6.0/VisiBroker for C++ 6.x
Platform: Windows 2000, Windows XP


Problem Description

How do I resolve the linker error I get when trying link any Visibroker C++ 6.x application?


Problem Resolution

The linker error is occurring due to it running up against the limit of amount of pubdefs it can handle in an import library.


The import libraries can be reduced in size and the pubdefs can be removed using a tool we supply with the RTL for BCB6.


How this is done:

  1. Look in $(BCB)\Source\Rtl\Tools for the tool "fastlib.exe"
  2. You can then run fastlib as follows: "fastlib obr_br.lib orb_br.fst"
  3. Rename orb_br.lib to orb_br.lib.old
  4. Rename orb_br.fst to orb_br.lib

    All VB 6.5 ++ applications will then be able to link.

Author: Roy Nelson