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: string): PWideChar;
C++
PWideChar StringToOleStr(const AnsiString Source);

System

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

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!