WINDOWS.H already included

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<p align=left><font face=Arial size=2>I am making the dll out of an exe. </font><font face=Arial size=2>I know that this error goes out when u adjust the order of your includes. I want to know the actual cause of this error and what we have to consider in order to get rid of it. </font>
<p align=left><font face=Arial size=2></font> 
<p align=left><font face=Arial size=2>Error 2 fatal error C1189: #error :  WINDOWS.H already included.  MFC apps must not #include <windows.h> C:Program FilesMicrosoft Visual Studio 8VCatlmfcincludeafxv_w32.h 16
</font>

View the full article
 
Back
Top