Hi,
I have a VC++ project that is composed of 2 sub-projects, a win32 app and a win32 static library.
I'm trying to use the STL stack. I can make the code compile & link in the main project, but the same 'stack' code won't link properly when used in the static library [LNK2001: unresolved external symbol...].
I have tried adding the lib file through options in both projects. I also tried adding the library to the project itself.
I think I'm probably missing something obvious, but I can't seem to figure it out. Any help would be appreciated.
Thanks,
kg
I have a VC++ project that is composed of 2 sub-projects, a win32 app and a win32 static library.
I'm trying to use the STL stack. I can make the code compile & link in the main project, but the same 'stack' code won't link properly when used in the static library [LNK2001: unresolved external symbol...].
I have tried adding the lib file through options in both projects. I also tried adding the library to the project itself.
I think I'm probably missing something obvious, but I can't seem to figure it out. Any help would be appreciated.
Thanks,
kg