Go to Project|View Makefile (for C++Builder 5 Project|Edit Option Source) and add the following
libraries to the end of the SPARELIBS line:
ACE_b.lib TAO_b.lib
You may add other TAO libraries as required for the CORBA Services.
For example, to use the Naming service you would add:
TAO_CosNaming_b.lib
You should also make sure that the LIBRARIES variable is on the ALLLIB line. For example, with
C++Builder 4:
ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib