System.WideString.c_bstr

From RAD Studio API Documentation
Jump to: navigation, search


C++

WideChar* c_bstr() const            { return Data; }

Properties

Type Visibility Source Unit Parent
function public wstring.h System WideString

Description

Returns the underlying BSTR that implements the WideString.

Use c_bstr to access the BSTR that implements the WideString.

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

See Also