Obsolete Functions

Visual Studio 2015
 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Obsolete Functions.

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

Obsolete functionAlternative
is_wctypeiswctype
_loaddllLoadLibrary, LoadLibraryEx, or LoadPackagedLibrary
_unloaddllFreeLibrary
_getdllprocaddrGetProcAddress
_seterrormodeSetErrorMode
_beepBeep
_sleepSleep
_getsystimeGetLocalTime
_setsystimeSetLocalTime
Obsolete functionAlternative
_cgets, _cgetws_cgets_s, _cgetws_s
gets, _getwsgets_s, _getws_s
_get_output_formatNone
_heapaddNone
_heapsetNone
inp, inpwNone
_inp, _inpw, _inpdNone
outp, outpwNone
_outp, _outpw, _outpdNone
_set_output_formatNone

_lock

_unlock

Show: