PwdCh : PWideChar
Str : String;
.
wStr := str;
PwdCh := PWideChar(wStr);
And the other way around (which is, if I read it correctly, the question
<g>):
wStr := PwdCh;
Str := wStr;
--
Rudy Velthuis (TeamB)
> I forgot to say I am still using Delphi 2. Which version was this
> implemented in? This will not compile.
In D2, you'll probably have to use Windows API conversion routines.
--
Rudy Velthuis (TeamB)
> Can you direct me to the help on this?
Look at WideCharToMultiByte() in the Win32 SDK help that comes with
Delphi.
--
Rudy Velthuis (TeamB)