On 7/22/2012 6:12 AM, Stuart wrote:
Okay, but if you had a keyword - say, "extern(rawC)" - that did no mangling whatsoever, then I could run implib without manually editing every single damn line in every Microsoft .def file by hand!!! Surely that's a good idea?
I agree, it's a pain, and a pointless one at that.
I don't know why implib is ignoring the /s switch, but it is. My .lib file doesn't have underscores, and there doesn't seem to be much I can do about it. Do I need a different version of implib or something? Shouldn't the /s switch add underscores to everything?
There's no magical way for implib to figure out what the nn in @nn must be.