Share via


Breaking Changes (CRT)

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

The following list shows some breaking changes in the CRT.

  • Many functions have been deprecated. See Deprecated CRT Functions.
  • The typedef errno_t with type integer was added. errno_t is used whenever a function return type or parameter deals with error codes from the new header file errno.h. Windows Embedded CE still does not support the C standard errno global variable used by some APIs to indicate error status.
  • The file descriptor value -2 is now used to indicate that stdout and stderr are not available for output, as for example in a Windows application that has no console window. The previous value used was -1. For more information, see _fileno.
  • sprintf now prints the negative sign of a signed zero.
    C++ overloads of some string functions with unsafe C prototypes have been added to prevent unsafe usage. These changes can cause compilation errors in existing C++ code if the functions were used incorrectly. C code is not affected.
    Many CRT functions now validate parameters and may terminate the current process if the validation fails

See Also

Reference

Security-Enhanced CRT Functions for Windows Embedded CE

Concepts

CRT Security Enhancements