I am trying to access an enum in a C++ class header (.h) from C#. Is there a simple way of doing this? Every example I have seen involves compiling the class into a .dll, which for this example is kind of a waste because the function of this class is pretty limited.
Edit by request: The C++ library CAN be modified. In fact, the C++ library is the major component of the project(firmware) and is developed by other members of my team, the C# (my part) is just for unit testing purposes.