G
Guest
Greetings,
I am very new to the MC++ 2005 visual studio world, and I was wondering how
you do pass by reference under the .Net syntax of mc++
(ie To do it in the C# version you would do something like this.
void myFuncA(ref string myValue)
{
myValue = "test";
}
(ie I tried to do something similar in MC++, but it doesn't show up right
under
the C# applications.
void myFuncA(System::String^ & myValue)
{
myValue = "test";
}
When I do this it shows up in my C# client app as "myFuncA(string* myValue)"
when the intellisense is showing? Is there something else I can do?
Thanks in advance for any suggestions!
I am very new to the MC++ 2005 visual studio world, and I was wondering how
you do pass by reference under the .Net syntax of mc++
(ie To do it in the C# version you would do something like this.
void myFuncA(ref string myValue)
{
myValue = "test";
}
(ie I tried to do something similar in MC++, but it doesn't show up right
under
the C# applications.
void myFuncA(System::String^ & myValue)
{
myValue = "test";
}
When I do this it shows up in my C# client app as "myFuncA(string* myValue)"
when the intellisense is showing? Is there something else I can do?
Thanks in advance for any suggestions!