RAD Studio VCL Reference
|
Converts the System::AnsiStringT to a wide-character array.
function WideChar(var dest: wchar_t; destSize: Integer): wchar_t*;
__fastcall wchar_t* WideChar(wchar_t* dest, int destSize) const;
System::AnsiStringT::WideChar converts the System::AnsiStringT 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::AnsiStringT::WideCharBufSize method to determine the size needed to hold the entire string value.
destSize is the size, in bytes, of dest.
System::AnsiStringT::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!
|