Force MSVC to export all static library symbols

I have a dll project with some C ++ code inside and a static library linked to my project with a set of headers.

There are no references to my static library functions inside my C ++ code, but I want MSVC to export all static library symbols and I don't know how.

The static lib is in my VS project, but when I compile my project, dumpbin says that only my C ++ functions are exported, there is no trace of my static library.

+3
c ++ visual-studio linker shared-libraries static-libraries


source to share


No one has answered this question yet

See similar questions:

4
Exporting static lib symbols from DLL

or similar:

3076
What are the differences between a pointer variable and a reference variable in C ++?
1783
C ++ 11 introduced a standardized memory model. What does it mean? And how will this affect C ++ programming?
1424
How to fix "The breakpoint will not be removed at this time. No symbols have been loaded for this document." warning?
689
Why is this C ++ code faster than my handwritten assembly for testing the Collatz hypothesis?
505
Error "LINK: Fatal error LNK1123: Failed to convert to COFF: file is invalid or corrupted" after installing Visual Studio 2012 Release Preview
430
Difference between static and shared libraries?
371
Static linking and dynamic linking
338
How do I fix Visual Studio compilation error, "processor architecture mismatch"?
250
Difference between shared objects (.so), static libraries (.a) and DLL (.so)?
99
Linking static libraries with other static libraries



All Articles
Loading...
X
Show
Funny
Dev
Pics