error C3181: invalid operand for __typeof, expected a fully defined managed type

  • Thread starter Thread starter sach
  • Start date Start date
S

sach

Hi,
I get this error
error C3181: invalid operand for __typeof, expected a fully defined managed type

Whenever I try to use Enum in VC++ .NET, which is actually defined in my VC++ library (unmanaged code)

Is there any way so that I can perfom "Enum::GetName" on the Enum of unmanaged code?

Please suggest

Thanx
Sach
 
Hi Sach,

No, that is not possible. The CLR type info functionality only works on
managed types.

Ronald Laeremans
Visual C++ team

Hi,
I get this error
error C3181: invalid operand for __typeof, expected a fully defined managed
type

Whenever I try to use Enum in VC++ .NET, which is actually defined in my
VC++ library (unmanaged code)

Is there any way so that I can perfom "Enum::GetName" on the Enum of
unmanaged code?

Please suggest

Thanx
Sach
 
Back
Top