H
hs-kill
Unregistered / Unconfirmed
GUEST, unregistred user!
好像转换后都是pwidechar对于一个参数是pwidechar的函数aa(pwidechar)以下2种方式调用都可以成功....那么这2个转换有什么区别没?var apw:array[0..255] of widechar; str:string;begin str:=extractfilepath(application.ExeName)+' :test'; StringToWideChar(str,apw,255); aa(apw);end;var pwcwidechar; str:string;begin str:=extractfilepath(application.ExeName)+' :test'; pwc:=StringToOleStr(str); aa(pwc);end;