I have a call-by-refrence function in a managed c++ dll.
How do i call that function in C#?
I've tried this:
[managed c++ dll]
void myClass::myFunction(int &state, int &status)
status = 3;
m_AUConnector.getStateInfo(ref a, ref b); //have tried without ref too.
but get the following error:
"can not convert from 'ref int' to 'int*'
How can i return the two params. from managed c++ to C#?