I have a C# function
When I call this function from Managed C++Code:SomeFunction(out MyObject obj)
Code:MyObject ^mObj = nullptr; SomeFunction(mObj);
After "SomeFunction" is called mObj is still equal to null.
I have verified in the debugger that SomeFunction retrieves the object properly so it shouldn't be null.
How come and how do I fix this?
Thanks!


Reply With Quote