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:
You may add other TAO libraries as required for the CORBA Services.
For example, to use the Naming service you would add:
You should also make sure that the LIBRARIES variable is on the ALLLIB line. For example, with
ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cw32mti.lib