I have a C++ DLL and Windows Forms C# application. How can I declare an
enumeration in C++ DLL that would be visible to C# client?
I am using Visual Studio 2005.
Thank you in advance.
Gregory Khrapunovich
Gregory,
Short of exposing the enum via a Type Library, it can't be done without
redefining the enum on the C# side.
Jason Newell
> I have a C++ DLL and Windows Forms C# application. How can I declare an
> enumeration in C++ DLL that would be visible to C# client?
> I am using Visual Studio 2005.
>
> Thank you in advance.
> Gregory Khrapunovich