Sign in to follow this  

Color me stumped (VC++.NET name mangling)

This topic is 4310 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I built a bunch of DLLs in one project, and am then trying to use them (by linking to the .lib link libraries, and including the appropriate headers) in another project. Normally, this works fine; I've done it many many times on different projects. However, this time, I get errors about missing symbols for almost all the referenced symbols. Taking one representative symbol, here's the symbol that it wants: ?NewErrorDetails@pit@@YAPAVPiValueHash@1@PBGH0@Z Here's the symbol that the DLL provides: ?NewErrorDetails@pit@@YAPAVPiValueHash@1@PB_WH0@Z So, PBGH0 means something different from PB_WH0. My guess is having to do with calling conventions, or exception handling, or whatnot, and the application project is not compatible with some setting in the DLL project. But which setting is this? Anyone have any idea?

Share this post


Link to post
Share on other sites

This topic is 4310 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this