摘要:
1、打开stdafx.h,添加如下代码 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows// headers#include <afxwin.h> // MFC core and standard components#include <afxext.h> // MFC extensions#include <gl\gl.h>#include <gl\glu.h>#ifndef _AFX_NO_AFXCMN_SUPPORT#include <afxcmn.h> 阅读全文