undecorate function names with visual studio sdk

c++, name-mangling, visual-studio-2005, visual-studio-addins

Solution

You're looking for `UnDecorateSymbolName` function provided by dbghelp.

Problem

To undecorate mangled C++ names that Visual Studio generates, you can use `undname.exe`. But what if you want to avoid the overhead of creating a full-blown process every time you need undecoration? Is there any equivalent functionality in the Visual Studio SDK (should be supported in VS2005)?

Original source