Exporter (0) Imprimer
Développer tout
MFC
TRY
Développer Réduire

_AFX_SECURE_NO_DEPRECATE

Suppresses compiler warnings for the use of deprecated MFC functions.


_AFX_SECURE_NO_DEPRECATE

This code sample would cause a compiler warning if _AFX_SECURE_NO_DEPRECATE were not defined.

// afx_secure_no_deprecate.cpp
// compile with: /EHsc 
#define _AFX_SECURE_NO_DEPRECATE
#include "afxcmn.h"

int main() {
   CRichEditCtrl * m_richedit = new CRichEditCtrl;
   m_richedit->GetSelText("aa");
}

Ajouts de la communauté

AJOUTER
Afficher:
© 2014 Microsoft