digitalmars.D.bugs - wsprintf is a Variable-length argument. Therefore, wsprintf is extern(C).
- Hiroshi Sakurai (13/13) Aug 24 2005 Hi all.
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, ..); }
Aug 24 2005