* Widestring->PWidechar requires a typecast

This commit is contained in:
peter 2002-11-22 16:30:05 +00:00
parent bd484276cd
commit 11d5367e01

View File

@ -33,13 +33,13 @@ end;
Procedure MakeWideString (Var P : PWideChar; W : WideString); Procedure MakeWideString (Var P : PWideChar; W : WideString);
begin begin
P:=W; P:=PWideChar(W);
end; end;
Procedure CopyAsWideString (Var PDest : PWideChar; PSource : PWideChar); Procedure CopyAsWideString (Var PDest : PWideChar; PSource : PWideChar);
begin begin
PDest:=WideString(PSource); PDest:=PWideChar(WideString(PSource));
end; end;
{ --------------------------------------------------------------------- { ---------------------------------------------------------------------
@ -709,7 +709,10 @@ end;
{$endif HASVARIANT} {$endif HASVARIANT}
{ {
$Log$ $Log$
Revision 1.9 2002-10-11 12:21:55 florian Revision 1.10 2002-11-22 16:30:05 peter
* Widestring->PWidechar requires a typecast
Revision 1.9 2002/10/11 12:21:55 florian
* fixes for new widestring handling * fixes for new widestring handling
Revision 1.8 2002/09/07 16:01:23 peter Revision 1.8 2002/09/07 16:01:23 peter