Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Suppresses compiler warnings for the use of deprecated ATL functions.
#define _ATL_SECURE_NO_WARNINGS
Example
This code sample would cause a compiler warning if _ATL_SECURE_NO_WARNINGS were not defined.
#define _ATL_SECURE_NO_WARNINGS
#include <atlbase.h>
#include <atlsimpstr.h>
CSimpleString str(_T("xxxxxxxxxxxxxxxxxxx"), 20, pMgr);
TCHAR* pszSrc = NULL;
pszSrc = new TCHAR[12];
str.CopyChars(str.GetBuffer(), pszSrc, 12);