How to compile C++ static library .. I get these errors
Posted on 2002-03-21
I am trying to compile a c++ program that uses a set of static library files ( they have virtual functions) ..
My program defines a class that derives the static lib class. The program( derived class) defines the virtual funtions in the static library header)
I get the following error
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library
api_AR.lib(DebugWindow.obj) : error LNK2001: unresolved external symbol __imp__InitCommonControlsEx@4
test.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Can anyone help ??