I defined a class in c + + CppTest, in c # to repeated calls to the object of hope:
1. Through the c # call, structure and initialized only once object;
2. You can in the process of c # program is running, the index to the object, and call the method (Func1 Func2);
If there is no describe the problem clearly, please leave a message, if you have a solution, thanked first here,
Due to the original code is bigger, the following is a simple signal code:
class CppTest
{
Public:
CppTest ();
~ CppTest ();
//member variables are used in the following function (mData1, mData2, etc.)
Void Func1 ();
Void Func2 ();
Private:
//a large number of member variables
Int mData1;
Double mData2;
};