Hi,

I have an IDL file with this structure inside:

typedef union abc
{
int Rogerio;
LPWSTR valString;
} _ABC;

When I generate the type library and make a reference in a vb.net project I cannot see the union members. But if I don't use the LPWSTR valString item, it appears with no problem.

So my question is: why using LPWSTR in unions make the whole union members not accessible?

Thanks!