COleMessageFilter* pOldFilter = AfxOleGetMessageFilter();
pOldFilter->Revoke();
- // Only needed by VC6
-#if _MSC_VER < 1300
-#ifdef _AFXDLL
- Enable3dControls(); // Call this when using MFC in a shared DLL
-#else
- Enable3dControlsStatic(); // Call this when linking to MFC statically
-#endif
-#endif
-
// Load registry keys from WinMerge.reg if existing WinMerge.reg
env_LoadRegistryFromFile(env_GetProgPath() + _T("\\WinMerge.reg"));
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
-// Disable VC6's "identifier was truncated..." warning. It is meaningless.
-#if _MSC_VER == 1200
- #pragma warning(disable: 4786)
-#endif
-
// Common MFC headers
#include <afxwin.h> // MFC core and standard components