Show: Delphi C++
Display Preferences

System.StringToOleStr

From XE2 API Documentation
Jump to: navigation, search

Delphi

function StringToOleStr(const Source: AnsiString): PWideChar;
function StringToOleStr(const Source: UnicodeString): PWideChar; overload;

C++

extern PACKAGE WideChar * __fastcall StringToOleStr(const AnsiString Source)/* overload */;

Properties

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

Description

Allocates memory and copies an AnsiString string to the OLE format.

StringToOleStr allocates memory and copies string data from a native AnsiString into a format that can be passed to OLE functions.

See Also

Personal tools
Previous Versions
Translations