B
Bill Cohagan
I'm trying to call an ActiveX dll via interop, but it expects a ref string
argument. Of course I can call it foo(ref strData), but this passed a
unicode string if strData is of type "string". I can convert to byte [],
but can't pass that as foo expects ref string.
So, how do I go about converting from unicode to ASCII (or UTF8), but still
pass something of string type?
Thanks in advance,
Bill
argument. Of course I can call it foo(ref strData), but this passed a
unicode string if strData is of type "string". I can convert to byte [],
but can't pass that as foo expects ref string.
So, how do I go about converting from unicode to ASCII (or UTF8), but still
pass something of string type?
Thanks in advance,
Bill