How do I stop name-mangling of my DLL’s exported function?

Small correction – for success resolving name by clinet

extern "C"

must be as on export side as on import.

extern “C” will reduce name of proc to: “_GetName”.

More over you can force any name with help of section EXPORTS in .def file

Leave a Comment