char ===>  Unicode wchar   ???

解决方案 »

  1.   

    function StringToWideChar(const Source: string; Dest: PWideChar; DestSize: Integer): PWideChar;
      

  2.   

    StringToWideChar 将ANSI字符串转换为UNICODE字符串 
    WideCharLenToString 函数 将ANSI字符串转换为UNICODE字符串 
    WideCharLenToStrWar 函数 将UNICODE字符串转换为ANSI字符串变量 
    WideCharToString 函数 将UNICODE字符串转换为ANSI字符串 
    WideCharToStrVar 函数 将UNICODE字符串转换为ANSI字符串变量