S
Steve Terepin
I've been trying to make a Managed C++ method that appears with the following signature in C# :
void Func ( ref bool cancelRequest )
.... but if I declare it in C++ as simply
void Func ( bool & cancelRequest )
.... it appears in the C# world as ( bool * ).
I've tried adorning the declaration with attributes like this :
void Func (
[System::Runtime::InteropServices::InAttribute]
[System::Runtime::InteropServices::OutAttribute]
bool & cancelRequest
) ;
.... but that doesn't do the trick.
Any ideas, anyone ?
Steve.
void Func ( ref bool cancelRequest )
.... but if I declare it in C++ as simply
void Func ( bool & cancelRequest )
.... it appears in the C# world as ( bool * ).
I've tried adorning the declaration with attributes like this :
void Func (
[System::Runtime::InteropServices::InAttribute]
[System::Runtime::InteropServices::OutAttribute]
bool & cancelRequest
) ;
.... but that doesn't do the trick.
Any ideas, anyone ?
Steve.