www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [BUG] std.c.windows.windows.wsprintf

oops,wsprintf has (C) linkage, not (Windows) linkage

bero

--- std/c/windows/windows.d.orig	2005-03-18 18:29:40.000000000 +0900
+++ std/c/windows/windows.d	2005-03-25 23:50:06.977250000 +0900
   -2491,6 +2491,9   

 export HWND SetFocus(HWND hWnd);

+}
+
+extern (C) {
 export int wsprintfA(LPSTR, LPCSTR, ...);
 export int wsprintfW(LPWSTR, LPCWSTR, ...);
 }
Mar 25 2005