We have a VB6 DLL which includes several enum definitions. We have loaded the VB6 DLL as a reference in a C# project.
In the Visual Studio 2010 object browser, all the VB6 classes are visible, as are the enum names. However, the enum values are not shown, and also are not listed when using intellisense within C# code. However the enum name does come up from intellisense, as do all the class names and class methods, properties etc. that I have tried. So only the values seem to be left out.
If I click the enum name in a code window and select Go To Definition, I get something like this:
namespace DLLName
{
[Guid("3DD0C797-2BF0-4A7A-8E1E-83E3095CB3AE")]
public enum EnumName
{
}
}
Which shows the same thing - enum exists with no values.
So the question is - where did the enum values go, and is there something we can do to get them to show up?
Note - I could modify the VB6 DLL if necessary.
Thanks