Thanks Pete,it worked ; ). Yes, I think it should be added to the faq, cause
most of coders usually use the "use namespace" command and they will
probably get the same error.

Adriano Crestani

On 3/9/07, haleh mahbod <[EMAIL PROTECTED] > wrote:

Is this common enough to be added to FAQ?
http://cwiki.apache.org/TUSCANY/tuscany-sdo-faq.html

On 3/8/07, Pete Robbins <[EMAIL PROTECTED]> wrote:
>
> I wish I'd written down what causes this :-(
>
> Basically SDO has a header and class named XMLDocument but so has
windows.
> I
> think this is caused by putting
> using namespace commonj::sdo
> somewhere in a header file so the compiler resolves XMLDocument to both
> the
> windows version and the commonj::sdo version.
>
> Try not having the "using namespace".
>
> Cheers,
>
>
> On 08/03/07, Adriano Crestani < [EMAIL PROTECTED]> wrote:
> >
> > I`m trying to compile an app using sdo c++ and I get the following
> error:
> >
> > Error    2    error C2371: 'XMLDocument' : redefinition; different
basic
> > types    c:\program files\microsoft platform sdk for windows server
2003
> > r2\include\msxml.h    12413
> >
> > Adriano Crestani
> >
>
>
>
> --
> Pete
>

Reply via email to