I have a VC++ application in which I am trying to use Microsoft's XML Parser. The tutorial I am following says to add the following line to stdafx.h:
#import "msxml.dll"
When I do, I get the following error at compile:
fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h>
I've tried putting the import in another file and get the same error. I am new to C++ and hope someone can help.
Thanks ------
KJR
#import "msxml.dll"
When I do, I get the following error at compile:
fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h>
I've tried putting the import in another file and get the same error. I am new to C++ and hope someone can help.
Thanks ------
KJR