Creating a .LIB to work with any run-time lib
Posted on 1998-05-20
I have created a small set of C++ routines, which I would like to compile into a C callable .LIB.
When I created the .LIB, I used Multithread DLL Runtime.
I tried to use it with a EXE project using the Debug Single-thread runtime,and received lots of funny link errors about unresolved externals in the run-time libs. I assume its because the .LIB is using DLL calls, and the .EXE .LIB calls.
Is it possible to create a .LIB that can be used in any project using any version of the run-times?
I would like to make the library available on my web site, so it would be nice if only one version of the library is needed for any project.
Thankx in advance,