call c++ function with reference parameter from cli
- by Benny
The unmanaged function(pure c++):
void fooC(float& result);
I define the wrapper as (managed wrapper, c++\cli):
void foo(float% result) //managed interface
{
fooC(???);//how to call unmanaged function?
}
how to pass reference parameter in the wrapper?