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 function | Alternative |
|---|---|
is_wctype | iswctype |
_loaddll | LoadLibrary, LoadLibraryEx, or LoadPackagedLibrary |
_unloaddll | FreeLibrary |
_getdllprocaddr | GetProcAddress |
_seterrormode | SetErrorMode |
_beep | Beep |
_sleep | Sleep |
_getsystime | GetLocalTime |
_setsystime | SetLocalTime |
| 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 | None |
| _inp, _inpw, _inpd | None |
| outp, outpw | None |
| _outp, _outpw, _outpd | None |
| _set_output_format | None |
Show: