Hi,
I've got an unmanaged C++ DLL that I'm calling functions in from a C# EXE,
via a managed C++ DLL.
My problem is that I have a lot of enumerated types defined in C++ headers -
is there a way that I can use these enumerations in all of the modules,
rather than having to rewrite them for the C# ?
e.g. if I have:
enum ColorValue { red, green, blue };
in my C++ .h file, is there a way that I can use ColorValue in my C# code ?
Thanks for any help,
Steve