Home All Groups Group Topic Archive Search About

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

Author
19 Apr 2006 10:07 PM
vanisathish
Hi,

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

Thanks
Vanitha

Author
20 Apr 2006 5:28 AM
Mattias Sjögren
>How do i convert the VC++ BSTR to String datatype in VB .NET

Call System.Runtime.InteropServices.Marshal.PtrToStringBSTR


Mattias

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