www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - 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,
..);
}
Aug 24 2005