|
-
May 10th, 1999, 11:22 AM
#1
Converting BSTR to CString
How do I convert BSTR to CString?
Thnaks in advance...
-
May 10th, 1999, 11:26 AM
#2
Re: Converting BSTR to CString
Cool...
Nevermind!!
I got it!!
-
May 14th, 1999, 04:27 AM
#3
Re: Converting BSTR to CString
It is nice to know that u found the answer yourself.
Why don't u share it with me.
Thanking you in advance
-
May 14th, 1999, 10:09 AM
#4
Re: Converting BSTR to CString
Suppose bstr is the BSTR to be converted. Then
CString str = (char*)bstr;
Simple, isn't it?
Santhosh
-
May 16th, 1999, 11:31 PM
#5
Re: Converting BSTR to CString
Well, Thank u.
How to convert CString to BSTR.
TIA
-
May 17th, 1999, 06:58 AM
#6
Re: Converting BSTR to CString
---
BSTR strNew ;
CString strTemp("Hello!");
strNew = strTemp.AllocSysString();
---
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|