RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
WideString::BSTR Operator

Converts the wide string to a System::WideString::BSTR.

Pascal
operator BSTR;
C++
operator BSTR() const;

Use the System::WideString::BSTR conversion operator to cast aSystem::WideString::WideString value to a System::WideString::BSTR.

Note: System::WideString::BSTR values are used with COM objects. Do not use COM objects in platform-independent applications, since COM is only available under Window.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!