RAD Studio VCL Reference
|
Converts the System::AnsiStringBase to a wide-character array.
function WideChar(var dest: wchar_t; destSize: Integer; codePage: Integer): wchar_t*;
__fastcall wchar_t* WideChar(wchar_t* dest, int destSize, int codePage) const;
System::AnsiStringBase::WideChar converts the System::AnsiStringBase to an array of wide characters, and returns the resulting wide-character array.
dest is a buffer the caller allocates to hold the return value. Use the System::AnsiStringBase::WideCharBufSize method to determine the size needed to hold the entire string value.
destSize is the size, in bytes, of dest.
System::AnsiStringBase::WideChar returns a pointer to the wide-character array that is written to dest.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|