#include "afxpriv.h"
CString target;
BSTR source; //needs to be initialized with your data
USES_CONVERSION;
target=OLE2T(source);
Dan
Eric P wrote in message <7ecdbd$989$1...@newton.pacific.net.sg>...
Kumar Venkataraman.
In article <7ecdbd$989$1...@newton.pacific.net.sg>,
"Eric P" <erci...@yahoo.com> wrote:
> Help....
>
> How can I convert BSTR to CString?
>
> THANKS...
>
> ...Eric Poey
> eric...@yahoo.com
>
>
////////////////////////////////////////
// He went out of his way to be good. //
////////////////////////////////////////
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own