System.StringToOleStr
Delphi
function StringToOleStr(const Source: _AnsiStr): PWideChar;
function StringToOleStr(const Source: UnicodeString): PWideChar; overload;
C++
extern DELPHI_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.