"Alistair Leslie-Hughes" <leslie_alistair at hotmail.com> wrote: > +@ cdecl wcscat_s(ptr long wstr) MSVCRT_wcscat_s The first parameter has type wstr. Also, please check actual buffer contents in the tests not just the return values. -- Dmitry.