System.WideString

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

type WideString = { built-in type };

C++

class RTL_DELPHIRETURN WideString

Properties

Type Visibility Source Unit Parent
type
class
public
System.pas
wstring.h
System System

Description

A null-terminated string of wide characters, with no reference counting.

A WideString variable represents a sequence of wchar_t characters. The WideString C++ class is functionally equivalent to the Object Pascal WideString intrinsic type.

WideString is useful when working with COM (Microsoft Component Object Model). WideString variables are easily converted to or from BSTR strings.

Note: WideString is used by the Object Pascal desktop compilers, but is not supported by the Object Pascal mobile compilers. For more information, see Migrating Object Pascal Code to Mobile from Desktop.

See Also