One of the reason could be that the 'Library' and 'EXE' are using different run time library.
For example, if LIB will use 'Debug Multithreaded' and EXE will use 'Multithreaded' OR a different combination, then you will get Linking error while linking LIB with EXE.
In visual studio 6, you can get this option @ Project -> Setting -> c/c++ tab -> Code Generation -> use run time library combo box.
No comments:
Post a Comment