You have to put them in different namespaces, otherwise the code doesn't
compile. If you do that, you can refer enum values using namespace name.
Regards
--
Cholo Lennon
Bs.As.
ARG
> Hello everyone,
>
[quoted text clipped - 18 lines]
> thanks in advance,
> George
Cholo Lennon - 02 Nov 2007 13:57 GMT
BTW... this is a newsgroup for C++ CLI so I suppose that you're using it. You
can use 'enum class' instead of C++ enum. Enum class values don't have the
problem of scope visibility (present in C++ enum values).
Regards
--
Cholo Lennon
Bs.As.
ARG
> You have to put them in different namespaces, otherwise the code doesn't
> compile. If you do that, you can refer enum values using namespace name.
[quoted text clipped - 28 lines]
> > thanks in advance,
> > George
George - 02 Nov 2007 16:19 GMT
Hi Cholo,
Could you recommend me a better newsgroup which is more suitable for my
question please? Thanks.
regards,
George
> BTW... this is a newsgroup for C++ CLI so I suppose that you're using it. You
> can use 'enum class' instead of C++ enum. Enum class values don't have the
[quoted text clipped - 39 lines]
> > > thanks in advance,
> > > George
Cholo Lennon - 02 Nov 2007 16:49 GMT
- microsoft.public.vc.language
- microsoft.public.vc.atl (for your question about COM)
Regards
--
Cholo Lennon
Bs.As.
ARG
> Hi Cholo,
>
[quoted text clipped - 47 lines]
> > > > thanks in advance,
> > > > George
George - 03 Nov 2007 06:31 GMT
Thanks Cholo!
regards,
George
> - microsoft.public.vc.language
> - microsoft.public.vc.atl (for your question about COM)
[quoted text clipped - 57 lines]
> > > > > thanks in advance,
> > > > > George
George - 02 Nov 2007 16:19 GMT
Thanks Cholo,
It works! Cool!
regards,
George
> You have to put them in different namespaces, otherwise the code doesn't
> compile. If you do that, you can refer enum values using namespace name.
[quoted text clipped - 28 lines]
> > thanks in advance,
> > George