I have a function
int func(CString InputParm1, CString InputParm2,
CString *OutputParm1, CString *OutputParm2)
Now I call that from
int DDManaged::func(String ^InputParm1, String ^InputParm2,
String ^OuputParm1, String ^OutputParm2)
Input variables pass in fine. Output variables I have an issue going from the CString
result to the OutputParm1
for example.
How would I do that?
The answer posted is different because it is going from System::String^ to CString. My software does that for the input just fine. My issue is getting the output string back out of the clr function to the c# code. Any ideas?