Reuse DEFINE and Const from C++ in C#

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have defined lot of constants in C++ header file, like DEFINE or const. I
used then within ActiveX controls.

Is there possibility to give C# direction to use those values from c++
header file, or I have to redefine all of them within C# units?

Thanks
Milan
 
Milan,

You will have to redfine them all in C#, unfortunately. However, once
you define them in C#, you will be able to access them from pretty much
anywhere (assuming the visiblity is set correctly and you have a reference
to it).

Hope this helps.
 
Back
Top