I'm trying to use an enum created in Managed c++ in a C# project. I can reach
the enums name, i.e.
namespace MyNS
{
public enum MyEnum
{
EOne,
ETwo
};
}
in C++ makes me able to reach MyEnum, but not MyEnum.EOne. Why?
Bruno van Dooren [MVP VC++] - 07 Mar 2007 09:09 GMT
> I'm trying to use an enum created in Managed c++ in a C# project. I can reach
> the enums name, i.e.
[quoted text clipped - 9 lines]
>
> in C++ makes me able to reach MyEnum, but not MyEnum.EOne. Why?
That should be
public __value enum MyEnum
the __value turns into a 'real' managed enum.

Signature
Kind regards,
Bruno.
bruno_nos_pam_van_dooren@hotmail.com
Remove only "_nos_pam"