B
Bae,Hyun-jik
Is there any way to port legacy C++ enum to managed object?
For example, let's assume there is a C++ header file(we cannot modify it,
because it is updated by other vendor). It has a enum definition like this.
enum AAA { a,b,c };
Assuming that we made a managed DLL whose namespace id MyLib. I tried
several way such as
typedef __gc AAA MyAAA;
and it generates just syntax errors.
Please reply. Thanks in advance.
Regards,
Hyun-jik Bae
For example, let's assume there is a C++ header file(we cannot modify it,
because it is updated by other vendor). It has a enum definition like this.
enum AAA { a,b,c };
Assuming that we made a managed DLL whose namespace id MyLib. I tried
several way such as
typedef __gc AAA MyAAA;
and it generates just syntax errors.
Please reply. Thanks in advance.
Regards,
Hyun-jik Bae