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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top