On Saturday, 21 July 2012 at 21:25:29 UTC, JImmy Cao wrote:
On Saturday, 21 July 2012 at 21:17:17 UTC, Stuart wrote:
On Saturday, 21 July 2012 at 19:56:37 UTC, Alex Rønne Petersen wrote:
Shouldn't you be using extern (Windows) ?

Yeah. I changed it to (System) in the hope it'd try *not* mangling the name; and didn't bother changing it back when I discovered it didn't help.

The language (which, let me say, is looking pretty damn good!) really, desperately needs an "extern(C)" keyword. I mean, like, yesterday!

D already has extern(C).

Well, yes and no:

extern (C) bool PathRenameExtension(LPSTR pszPath, LPCSTR pszExt);

Attempts to bind to a function called _PathRenameExtension. Which is, naturally, of no use whatsoever.

Reply via email to