Breyta

Deila með


Obsolete functions

Certain library functions are obsolete and have more recent equivalents. We recommend you change these functions to the updated versions. Other obsolete functions have been removed from the CRT. This article lists the functions deprecated as obsolete, and the functions removed in a particular version of Visual Studio.

Deprecated as obsolete in Visual Studio 2015

Obsolete function Alternative
is_wctype iswctype
_loaddll LoadLibrary, LoadLibraryEx, or LoadPackagedLibrary
_unloaddll FreeLibrary
_getdllprocaddr GetProcAddress
_seterrormode SetErrorMode
_beep Beep
_sleep Sleep
_getsystime GetLocalTime
_setsystime SetLocalTime

Removed from the CRT in Visual Studio 2015

Obsolete function Alternative
_cgets, _cgetws _cgets_s, _cgetws_s
gets, _getws gets_s, _getws_s
_get_output_format None
_heapadd None
_heapset None
inp, inpw, _inp, _inpw, _inpd None
outp, outpw, _outp, _outpw, _outpd None
_set_output_format None

Removed from the CRT in earlier versions of Visual Studio

_lock
_unlock