delphi 2009之前,缺省字符和字符串采用ANSI系列,如想定义unicode字符串,需要pmy : PWideChar;delphi 2009(含)之后,缺省已经是unicode风格,则pmy : PChar;
varpmy Pchar;