简单的条件编译

来源:互联网 发布:淘宝天猫货源 编辑:程序博客网 时间:2024/05/01 04:51
#ifdef _AFXDLL
 Enable3dControls();   // Call this when using MFC in a shared DLL
#else
 Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif