[fpc-devel] strcopy, strlcopy for PWideChar

LacaK lacak at zoznam.sk
Mon Aug 15 14:58:22 CEST 2011


Michael Van Canneyt  wrote / napĂ­sal(a):
>
>
> On Mon, 15 Aug 2011, LacaK wrote:
>
>> Hi,
>> it seems, that there is ATM no versions of StrCopy, StrLCopy, which 
>> works with WideChars (in SysUtils).
>> Can these variants be added ?
>>
>> function StrCopy(Dest: PWideChar; const Source: PWideChar): PWideChar;
>> http://docwiki.embarcadero.com/VCL/en/SysUtils.StrCopy
>>
>> function StrLCopy(Dest: PWideChar; const Source: PWideChar; MaxLen: 
>> Cardinal): PWideChar;
>> http://docwiki.embarcadero.com/VCL/en/SysUtils.StrLCopy
>>
>> etc.
>>
>> Or do you not like these "wide" versions at all ?
>
> It's not a matter of liking, I'm afraid. If Delphi has them, we'll 
> have to add them too :-)
>
> Can you please add an entry in the bug tracker, so we don't forget ?
>
http://bugs.freepascal.org/view.php?id=19989
Do you think, that it is realistic expect them in 1-2 months ?
Thanks
-Laco.




More information about the fpc-devel mailing list