msxml.h is included deep in ole2.h; the only way to fix this is to add a #undef DOMDocument before including the Xerces headers.

Alberto

<Cyberbob> wrote:
Hi!

I'm getting crazy with this compilation error in VS 2008:

C3271: DOMDocument redefinition ... file: msxml.h

I already tried the WIN32_LEAN_AND_MEAN definition - doesn't work!

I removed windows.h and i only include STL - classes....

what can i do to find out where msxml.h gets included???

thanks a lot!!

greetings

Reply via email to