CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: BSTR

  1. #1
    Join Date
    Apr 1999
    Posts
    5

    BSTR

    How does one convert a BSTR to a CString ?


  2. #2
    Join Date
    May 1999
    Location
    Texas, USA
    Posts
    568

    Re: BSTR

    It should be as easy as
    CString str;
    str = bstr;


    CString has an overload for wide characters.

    Wayne


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured