scp
May 10th, 1999, 11:22 AM
How do I convert BSTR to CString?
Thnaks in advance...
Thnaks in advance...
|
Click to See Complete Forum and Search --> : Converting BSTR to CString scp May 10th, 1999, 11:22 AM How do I convert BSTR to CString? Thnaks in advance... scp May 10th, 1999, 11:26 AM Cool... Nevermind!! I got it!! nagi May 14th, 1999, 04:27 AM It is nice to know that u found the answer yourself. Why don't u share it with me. Thanking you in advance scp May 14th, 1999, 10:09 AM Suppose bstr is the BSTR to be converted. Then CString str = (char*)bstr; Simple, isn't it? Santhosh nagi May 16th, 1999, 11:31 PM Well, Thank u. How to convert CString to BSTR. TIA Jason Teagle May 17th, 1999, 06:58 AM --- BSTR strNew ; CString strTemp("Hello!"); strNew = strTemp.AllocSysString(); --- codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |