Unresolved externals when trying to link zApp application with MSVC4.2

Article ID: 857
Last updated: 05 Feb, 2008
Article ID: 857
Last updated: 05 Feb, 2008
Revision: 1
Views: 11728
Posted: 02 Sep, 1997
by Dean J.
Updated: 05 Feb, 2008
by Dean J.
Problem


I get unresolved externals when trying to link my zApp app with MSVC4.2.


Cause


Streams are now used by STL under Microsoft Visual C++ 4.2, causing linking problems.


Action


All you need to do is add the libs shown below to use the old streams. Add these libraries to the end of the list of libraries.

libc1.lib
msvcirt.lib

Do not check the Ignore Default Libs option (some people are doing this to try and eliminate the problem).

For more information on this issue look in the help under OFSTREAM and check the section on potential link problems.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 857
Last updated: 05 Feb, 2008
Revision: 1
Views: 11728
Posted: 02 Sep, 1997 by Dean J.
Updated: 05 Feb, 2008 by Dean J.

Others in this category