wcstombs implementation change in msvcrt.dll RRS feed

  • Question

  • Hello, the implementation of wcstombs has changed in the version of msvcrt.dll supplied in syswow64 on Windows Server 2008.

    The following call:

    size_t ret = wcstombs(0, L"XXXXXXXX", 0xffffffff);

    returns 8 on previous versions of Windows and -1 (error) on Windows Server 2008.

    This unfortunately breaks some legacy code.

    Is there a list somewhere of breaking changes to the msvcrt interface?

    Monday, November 22, 2010 10:15 PM