http://d.puremagic.com/issues/show_bug.cgi?id=5680
Summary: wrong calling convention on wsprintfA/W Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: druntime AssignedTo: nob...@puremagic.com ReportedBy: johnch_a...@hotmail.com --- Comment #0 from johnch_a...@hotmail.com 2011-03-02 02:14:16 PST --- core.sys.windows.windows exports wsprintfA and wsprintfW with extern(Windows). However, when I attempt to import the function, OPTLINK reports (for the W version): Symbol Undefined _wsprintfW@8 According to MSDN (see http://msdn.microsoft.com/en-us/library/ms647550(v=vs.85).aspx), the function should use the C calling convention. So the definitions should use extern(C) instead of extern(Windows). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------