title: error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h>"**
body: <p>I have a project that use stdafx.h as the precompile header. This means all the cpp file must contain #include "stdafx.h" as the first include.</p>
  
  <p>However, in A.h, I will need to include "afxinet.h", but the compiler complain this</p>
  
  <p><strong>"error C1189: #error :  WINDOWS.H already included.  MFC apps must not #include "windows.h""</strong></p>
  
  <p>this is because "afxinet.h" complains when WINDOWS.H i included, but "stdafx.h" does have WINDOWS.H included and is present as the first include in A.cpp.</p>
  
  <p>This implies that I need to somehow have "afxinet.h" included in front of "stdafx.h", but "stdafx.h" is the precompile header and needs to be present as the first include...</p>
  
  <p>how can I resove this dilemma?</p>