The error indicates that you are including <windows.h> somewhere. Search
for the text "windows.h" in your project directory and see it if is included
in any header file that gets added before stdafx.h.
--
Cheers
Check Abdoul [ VC++ MVP ]
-----------------------------------
Duncan Winn said:
No I am not including <windows.h> anywhere !!
Thanks,
Duncan
"CheckAbdoul" <636865636B6162646F756C406E6F7370616D2E6D7670732E6F7267> wrote
in message Do you have a
#include <windows.h>
before including
#include <afxwin.h>
If so, remove it.
--
Cheers
Check Abdoul [ VC++ MVP ]
-----------------------------------
Thanks,
but it still comes up with the same error??
"CheckAbdoul"
wrote
in message Try
#include <afxwin.h>
instead of
#include <afxcoll.h>
--
Cheers
Check Abdoul [ VC++ MVP ]
-----------------------------------
#include <afxwin.h> // MFC core and standard components
I would like to use CStringArray, but when I try to include afxcol.h
my
compiler (VS.NET) complains that...
WINDOWS.H already included. MFC apps must not #include