I am using VS 2008.
I have Library 5 Lib file
A.lib
B.lib
C.lib
D.lib
E.lib
A.Lib Include all the header file of B,C,D,E
Now I am trying to Use A.
Lib in MFC application Sample.
I Have Included all the lib file in Sample App and All the setting like code generation,character set is same for all the project. I have made MFC application to use static lib.
I am getting Linker error 2019 in Lib A.lib(A.obj) error LNK2019: unresolved external symbol “public: void __thiscall _Tables::reclaimIfPossible(….
Here reclaimIfPossible function is implemented in b.lib
You must link to all libraries.
Only linking to A.lib will only give you symbols for methods defined in A.lib. If anything in A.lib uses anything from the other libraries, you’ll get unresolved external symbol.