System.OleStrToStrVar

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure OleStrToStrVar(Source: PWideChar; var Dest: _AnsiStr);
procedure OleStrToStrVar(Source: PWideChar; var Dest: UnicodeString);

C++

extern DELPHI_PACKAGE void __fastcall OleStrToStrVar(WideChar * Source, System::AnsiString &Dest)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.pas
System.hpp
System System

Description

Copies a string from its COM representation to an existing Delphi string.

OleStrToStrVar converts a wide string (the format used by COM interfaces) into an existing string variable.

See Also