i have a c++ dll (Cli) that is calling to methods in a c# dll.
the c# dll has the following method signature:
Class MyClass
{
void DoSomeWork(ref ClassA a, ClassB b);
}
if there was no ref in the signature my code is something like this:
MyClass^ myClass = gcnew MyClass();
ClassA a = gcnew ClassA();
ClassB b = gcnew ClassB();
myClass->DoSomeWork(a, b);
how do i call it from the c++ code if there is a ref in the signature?
one more queastion i have - in c# i can call the Any() method on array but for some reason doing it the c++/cli is not working
if (reply->Any())
i get an error: error C2039: 'Any' : is not a member of 'System::Array'
any help would be appricated
thx