convert string to bstring

  • Thread starter Thread starter mick
  • Start date Start date
M

mick

Anybody know how to convert a string into a bstring in c#?

I'm working with a com component from which one of the functions has an argument of type bstring.

Thanks in advance,

Mick
 
Anybody know how to convert a string into a bstring in c#?

Do you mean a COM BSTR? If so, Marshal.StringToBSTR() does that.



Mattias
 
Back
Top