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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för