Problem getting unresolved external when linking Oracle Pro*COBOL program using TESTCOVER


Customer is using Visual COBOL 2.1 to create a native application that uses embedded SQL and Oracles Pro*COBOL precompiler to generate the executable as an .EXE.

This requires that the LITLINK compiler directive be used so that the calls to the Oracle libraries will be resolved at link time.

When specifying the TESTCOVER directive in order to generate a test coverage report, the link step reports an unresolved external on _TESTCOVER.

How can this problem be rectified?


I have attached a file TESTCOVER.LIB to this article.

Add this file to the additional link libraries under Project Properties and you should be fine linking your Oracle Pro*COBOL application when also using the TESTCOVER directive.

Comment List
Related Discussions