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
Зворотний зв’язок
https://aka.ms/ContentUserFeedback.
Очікується незабаром: протягом 2024 року ми будемо припиняти використання механізму реєстрації проблем у GitHub для зворотного зв’язку щодо вмісту й замінювати його новою системою зворотного зв’язку. Докладніше:Надіслати й переглянути відгук про