Optional name mangling

Adam D. Ruppe destructionator at gmail.com
Sat Jul 21 15:51:13 PDT 2012


On Saturday, 21 July 2012 at 22:38:32 UTC, Stuart wrote:
> Attempts to bind to a function called _PathRenameExtension. 
> Which is, naturally, of no use whatsoever.

That is the norm on Windows though:

http://en.wikipedia.org/wiki/Name_mangling#C_name_decoration_in_Microsoft_Windows

If you're using implib on a DLL to make a .lib for D though,
the /S switch might help:
http://www.digitalmars.com/ctg/implib.html
"Prepend '_' to exported internal names."


More information about the Digitalmars-d mailing list