i need to create a header (*.h) file with these defines :
#define MY_FIRST_DEFINE 1
#define MY_SECOND_DEFINE 2
#define MY_THIRD_DEFINE 3
and use it in a cs file - C# Code.
How do i include it ?
do i need to write a special code in the header file ?
do i need to write a special code in the C# file ?
thanks.


Reply With Quote
That's not going to work. You cannot use C++ files in C#.
Simply create a cs file with an enumeration:
Marius Bancila