Converting BSTR in VC++ to String in VB .NET

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • vanisathish@gmail.com

    Converting BSTR in VC++ to String in VB .NET

    Hi,

    How do i convert the VC++ BSTR to String datatype in VB .NET

    Thanks
    Vanitha

  • Mattias Sjögren

    #2
    Re: Converting BSTR in VC++ to String in VB .NET

    >How do i convert the VC++ BSTR to String datatype in VB .NET

    Call System.Runtime. InteropServices .Marshal.PtrToS tringBSTR


    Mattias

    --
    Mattias Sjögren [C# MVP] mattias @ mvps.org
    http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
    Please reply only to the newsgroup.

    Comment

    Working...