WINDOWS.H already included. MFC apps must not #include <windows.h>



Hi All

I getting an error message "WINDOWS.H already included. MFC apps must
not #include <windows.h>" However i not including windows.h anywhere in
my project.


Can you help

Many Thanks

Tom

Below is a copy of my stdafx.h



// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//

#if
!defined(AFX_STDAFX_H__6B703139_63DB_11D5_B5D1_4324324324822__INCLUDED_)
#define AFX_STDAFX_H__6B703139_63DB_11D5_B5D1_4324324324822__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000



#include <atlbase.h>
#if _ATL_VER >= 0x0700
#include <atlcoll.h>
#include <atlstr.h>
#include <atltypes.h>
#define _WTL_NO_CSTRING
#define _WTL_NO_WTYPES
#else
#define _WTL_USE_CSTRING
#endif

#include <atlapp.h>

extern CAppModule _Module;

#include <atlmisc.h>
#include <atlcom.h>
#include <atlhost.h>
#include <atlwin.h>
#include <atlctl.h>

#include <atlframe.h>
#include <atlctrls.h>
#include <atldlgs.h>
#include <atlctrlw.h>



#include "atlgdix.h"
#include "CustomTabCtrl.h"
#include "DotNetTabCtrl.h"
#include "SimpleTabCtrls.h"
//#include "SimpleDlgTabCtrls.h"
#include "TabbedFrame.h"
//#include "TabbedMDISave.h"
#include "ListViewNoFlicker.h"

#define _TABBEDMDI_MESSAGES_EXTERN_REGISTER
#define _TABBEDMDI_MESSAGES_NO_WARN_ATL_MIN_CRT
#include "TabbedMDI.h"

#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows Common Controls
#endif





#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers

#include "Resource.h"
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxcview.h>
#include <afxdisp.h> // MFC Automation classes
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common
Controls
#include <afxole.h>
#include <afxpriv.h>
#include <shlobj.h> // IShellFolder support
#include <afxmt.h>
#include <lm.h>
#include <afxtempl.h>



#include <afxdhtml.h>
#include <afxdlgs.h>



//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately
before the previous line.

#endif //
!defined(AFX_STDAFX_H__6B703139_63DB_11D5_B5D1_4324324324822__INCLUDED_)

.