Exposing a c++ enum in a managed c++ assembly
Hi everyone,
We have a c++ server application that we are writing a GUI client
application for. To save our time and to avoid duplicating all the code and
functionality that already exists in c++ classes I am building a managed c++
assembly around these classes so that a c# program can use them.
The problem is that alot of these c++ classes use enums, I would like to
make these visible to the c# application but I cannot find a way to do this.
Do I have to duplicate them so that I have one lot for C++ and the other for
dotnet? There must be an easier way?
Thanks for your time
Regards
Dean Mitchell
Date:Thu, 2 Aug 2007 15:32:09 +1200
Author:
|