a problem!!!!
-
when i compile my project i get this error!!! --------------------Configuration: Ado1 - Win32 Debug-------------------- Compiling resources... Compiling... StdAfx.cpp c:\program files\microsoft visual studio\vc98\mfc\include\afxv_w32.h(14) : fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include Error executing cl.exe. Ado1.exe - 1 error(s), 0 warning(s) it is showing that error is in stdafx.h.. wat to do now... i have only added one line to stdafx.h which is:: #include "comdef.h" there is no #include in any of my project file... please help and thanks
-
when i compile my project i get this error!!! --------------------Configuration: Ado1 - Win32 Debug-------------------- Compiling resources... Compiling... StdAfx.cpp c:\program files\microsoft visual studio\vc98\mfc\include\afxv_w32.h(14) : fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include Error executing cl.exe. Ado1.exe - 1 error(s), 0 warning(s) it is showing that error is in stdafx.h.. wat to do now... i have only added one line to stdafx.h which is:: #include "comdef.h" there is no #include in any of my project file... please help and thanks
Use the < tags just above the emoticons because we cannot see which header file you included.
-
when i compile my project i get this error!!! --------------------Configuration: Ado1 - Win32 Debug-------------------- Compiling resources... Compiling... StdAfx.cpp c:\program files\microsoft visual studio\vc98\mfc\include\afxv_w32.h(14) : fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include Error executing cl.exe. Ado1.exe - 1 error(s), 0 warning(s) it is showing that error is in stdafx.h.. wat to do now... i have only added one line to stdafx.h which is:: #include "comdef.h" there is no #include in any of my project file... please help and thanks
smartymanav wrote: have only added one line to stdafx.h which is:: #include I am unable to see which file you have included in your project, please modify your comment with Do not treat <'s as HTML tags option checked
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta
-
smartymanav wrote: have only added one line to stdafx.h which is:: #include I am unable to see which file you have included in your project, please modify your comment with Do not treat <'s as HTML tags option checked
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta
now take a look
-
Use the < tags just above the emoticons because we cannot see which header file you included.
cedric moonen wrote: < tags just above the emoticons because we cannot see which header file you included. :omg: We Posted our comment at same Time :)
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta
-
when i compile my project i get this error!!! --------------------Configuration: Ado1 - Win32 Debug-------------------- Compiling resources... Compiling... StdAfx.cpp c:\program files\microsoft visual studio\vc98\mfc\include\afxv_w32.h(14) : fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include Error executing cl.exe. Ado1.exe - 1 error(s), 0 warning(s) it is showing that error is in stdafx.h.. wat to do now... i have only added one line to stdafx.h which is:: #include "comdef.h" there is no #include in any of my project file... please help and thanks
-
cedric moonen wrote: < tags just above the emoticons because we cannot see which header file you included. :omg: We Posted our comment at same Time :)
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta
Wow, that is synchronisation isn't it ? :)
-
when i compile my project i get this error!!! --------------------Configuration: Ado1 - Win32 Debug-------------------- Compiling resources... Compiling... StdAfx.cpp c:\program files\microsoft visual studio\vc98\mfc\include\afxv_w32.h(14) : fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include Error executing cl.exe. Ado1.exe - 1 error(s), 0 warning(s) it is showing that error is in stdafx.h.. wat to do now... i have only added one line to stdafx.h which is:: #include "comdef.h" there is no #include in any of my project file... please help and thanks
-
thanks a lot!!!!!
-
Add your include files at the end of stdafx.h, just before the '#endif' line at the bottom. If you add your headers at the top of the file you will get this error.
sigless
thanks a lot!!!