BSTR to System::String?? 
Author Message
 BSTR to System::String??

If you mean the System.Convert class, then you can use it in a managed app
:-)

Nish


Quote:
> I am a bit new to the C++ world.
> I am trying to convert a BSTR to a System::String in
> VS.NET. Does anyone know of a function to do this? Is
> there a good C++ conversion object like the one used in
> VB.NET and C#.NET?
> Thanks



Wed, 26 Jan 2005 18:33:36 GMT  
 BSTR to System::String??
I think he meant System.Convert :-)

Nish

Quote:

> I don't understand what you mean by a "conversion object".

> Ronald Laeremans
> Visual C++ compiler and libraries team



Wed, 26 Jan 2005 18:34:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. BSTR BSTR and BSTR

2. BSTR to std::string conversion and std::string to BSTR?

3. int to std::string to System::String

4. static std::string exposed through System::String *

5. System::String to std::string

6. System.String to std::string conversion

7. How to convert a managed string to a BSTR

8. passing a string by LPSTR or by BSTR

9. BSTR , CSTring and STL string

10. Passing strings - BSTR vs CComBSTR

11. get BSTR array of string in com (via [out])

12. VB, VC, BSTR, and Sys*String() Functions

 

 
Powered by phpBB® Forum Software