RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.OleStrToStrVar Function

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

Pascal
procedure OleStrToStrVar(Source: PWideChar; var Dest: AnsiString); overload;
procedure OleStrToStrVar(Source: PWideChar; var Dest: UnicodeString); overload;
C++
OleStrToStrVar(PWideChar Source, AnsiString Dest);
OleStrToStrVar(PWideChar Source, UnicodeString Dest);

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

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