December 9th, 2012, 09:05 AM
functions were discarded on build of a dll with visual c++ 8.0
I want to build a dll library with visual c++ 8.0 and got an "unresolved symbol" linker error message when trying to use the library with an application. So I checked the dll library with dependency walker for the exported functions, the needed functions were missing in the library.
I then dumped the corresponding object file with dumpbin.exe, the function was declared as public, like the other exported functions.
On the next step, I set the verbose switch for link.exe.
The verbose log told me, that the function was discarded on the linker run.
Can someone tell me, what can lead to that behaviour of the visual c++ linker ?
Thanks very much for your help.
Tags for this Thread
Click Here to Expand Forum to Full Width