strings between C# and mc++

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to return a string from a mc++ method back to an invoking C#
module.

In the invoking C# module I have the string defined as.... String
strString;.... in mc++ the method definition is like.... int function(String
*strString, String *strString1....)....etc

I am unable to use the "ref" keyword in the C# module when invoking the mc++
method .... it will not compile.

How do I invoke the mc++ function such that a modified String will be
returned to the C# module ? I have multiple String(s) to be returned from
the mc++ method so having the String as the method return value is not an
option.
 
Back
Top