Thanks Alberto!
Msxml.h was in the path, and explicitly adding it to stdafx.h didn't work.
However, after adding it, I was able to sniff out the problem -- which was
that the wrong msxml.h was being used.
The instructions state to put the platform SDK include path "second" after
the normal platform SDK include path. I tried to figure the best place
based on the different set of paths I saw on my machine, and guessed wrong.
As soon as I put the platform SDK path first, it built fine.
Thanks for pointing me in the right direction!
-Eric.
-----Original Message-----
From: Alberto Massari [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2003 9:45 AM
To: [EMAIL PROTECTED]
Subject: Re: Xerces COM/.NET
At 09.18 24/11/2003 -0500, Eric J. Peters wrote:
>
>Hi-
>
> I have 2 quick questions:
>
> I am trying to build the Xerces COM sub-project under
> VS6/WinXP. I have installed the new platform SDKs, and I am not finding
> a way around the following error:
> ".\xerces-c-src_2_3_0\src\xercesc\com\StdAfx.cpp(28) : fatal error C1189:
> #error : "xerces-dom requires an MSXML.H compatible with IE5 or
> later. See http://xml.apache.org/xerces-c/build.html#BuildCOM for
> directions." I have followed the referenced instructions as best as I
> have figured since the paths are different under the new platform
> SDKs. Has anyone solved this problem, or have any suggestions on where I
> start to try to solve this myself?
It looks like msxml.h is not getting included by the standard headers. Are
you sure you have moved the include directory from the platform SDK to the
first place in the list at Tools|Options|Directories?
If you already did that, try adding an explicit #include <msxml.h>
directive in the StdAfx.h header.
Alberto
>
> The reason I'm trying to build the COM is so that I can
> easily use Xerces from C#. My second question is much less defined: I'm
> wondering if anyone has any experiences using Xerces in the .NET
> framework and would be willing to share their experiences.
>
> Thanks!
> -Eric.
>
---------------------------------------------------------------------
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]