Exporting cpp mangled functions from a 3rd party library
问题 I have a third party library as source code. It comes with a Visual Studio project that builds a .lib from it. I want to access the functionality from C# though, so I copied the project and changed it to create a dll. The DLL didn't contain any exported functions though, so I also created a module definition (.def) file, and added the functions I need in the EXPORTS section. This works for all the functions that are declared in extern "C" blocks. However, some of the functions that I need are