August 24, 2005 wsprintf is a Variable-length argument. Therefore, wsprintf is extern(C). | ||||
---|---|---|---|---|
| ||||
Hi all. This topic wroten by U in Japanese D language wiki. http://f17.aaa.livedoor.jp/~labamba/?BugTrack%2F17 -------- The last part of std.c.windows.windows. export int wsprintfA(LPSTR, LPCSTR, ...); export int wsprintfW(LPWSTR, LPCWSTR, ..); is in extern(Windows). please change this one. extern(C) { export int wsprintfA(LPSTR, LPCSTR, ...); export int wsprintfW(LPWSTR, LPCWSTR, ..); } |
Copyright © 1999-2021 by the D Language Foundation