RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
WideStrUtils.WStrPCopy Function

Copies a WideString to a PWideChar.

Pascal
function WStrPCopy(Dest: PWideChar; const Source: WideString): PWideChar;
C++
PWideChar WStrPCopy(PWideChar Dest, const BSTR Source);

WStrPCopy copies Source into a PWideChar Dest. It returns a pointer to Dest.  

WStrPCopy does not perform any length checking.  

The destination buffer must have room for at least Length(Source) + 1 characters. 

 

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