Hello Sree, We ran into this same issue. Add the XERCES_CPP_NAMESPACE_QUALIFIER found in utils/XercesDefs.hpp in front of your DOMDocument reference to help remove the ambiguity for the compiler.
Regards, Nicholas -----Original Message----- From: Sree Harsha [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 12, 2008 3:24 AM To: [email protected] Subject: Getting rid of redefinition errors when including windows.h Hi, I am using xerces 2.8 libraries and microsoft visual c++ express edition to parse an xml. When I include windows.h i get DOMDocument redefinition error. I need to use the datatypes in windows.h. How can i get rid of The errors. what namespace should i use when declaring a datatype like.. DWORD or HANDLE... please help me out with this.. Thanks and Regards Sree Harsha Vardhana S.N --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
