include msxml couse compilation error PLEASE HELP
Hi.
I'm spending too much time on this problem and yet have no results.
My problem is a simple one.
I want to use the xml parse, so I'm trying to add
#include <msxml.h> to .h file in my dll project, so I can use the IXMLDOMsomething.
But thane these compilation error are generated:
error C2146: syntax error : missing ';' before identifier 'IXMLDOMImplementation'
fatal error C1004: unexpected end of file found
Without this #include there is no compilation error at all. So it's not a problem in my code like "#ifndef #endif problem which is typical to error C1004.
Please help it's very important.
Thanks Itzik.
Re: include msxml couse compilation error PLEASE HELP
Check the header file like "stdafx.h". This may have an entry like #define WIN32_LEAN_AND_MEAN
If this WIN32_LEAN_AND_MEAN is defined some of the header files which are rarely used do not get included. Removing this entry may help.
Re: include msxml couse compilation error PLEASE HELP
Quote:
Originally Posted by prasad_chawak
Check the header file like "stdafx.h". This may have an entry like #define WIN32_LEAN_AND_MEAN
If this WIN32_LEAN_AND_MEAN is defined some of the header files which are rarely used do not get included. Removing this entry may help.
well done prasad. You're right.