There is an API in the dbghlp.h/.lib called "UnDecorateSymbolName that takes a mangled C++ function and returns the actual function name unmangled... can even return the parameters expected... it's pretty cool... I don't know how to use it, but I'm sure someone here can figure out what to do with it. It can be useful for making dynamic calls to a C++ DLL...

Posted on 2001-11-09 15:25:38 by _Shawn
How would that be useful? Wouldn't you rather need a "DecorateSymbolName"? :).
Also, for dynamic calls, you could just GetProcAddress the mangled

Or you could just do the right thing and write C++ code. Calling
C++ class members "dynamically" will probably be very very very

The undecoration is more useful to get sane names from decorated
exports, for use in debuggers or dumps or the like.
Posted on 2001-11-09 16:25:28 by f0dder