S
sy0116
Unregistered / Unconfirmed
GUEST, unregistred user!
我直接用<br>path1:string;<br>pathchar;<br>pathWwidechar;<br><br>path:=pchar(path1);<br>pathW:=PwideChar(path);<br>SetWindowTextW(FindWindow('tform1','form1'),pathW);<br>结果form1窗口的标题全部变成了乱码,请问如何才可以把pchar转为PwideChar