RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.StringToOleStr Function

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

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

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

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!