Quantcast
Channel: The Old New Thing
Viewing all articles
Browse latest Browse all 24428

re: The extern "C" specifier disables C++ mangling, but that doesn't mean it disables mangling

$
0
0

Just to give the third method some love. There is a third method to export symbols, that is the linker's /export command line option. This can be put into a source file using the #pragma directive.

#pragma comment(linker, "/export:symbol")

But I'm only mentioning this because I think it is unfair that the MSDN documentaiton only mentions the .DEF file in the dllexport documentation.


Viewing all articles
Browse latest Browse all 24428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>