在Delphi7中UNICODE相当于PChar [英] UNICODE equivalent of PChar in Delphi7

查看:123
本文介绍了在Delphi7中UNICODE相当于PChar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

TCALLBACKPROC = function(strDataType:PChar; strDocument:PChar;strDriverName:PChar;strMachineName:PChar;strPrintername:PChar;strParameters:PChar;
                        strPrintProcessor:PChar; JobId:Integer;PagesPrinted:Integer; Size:Integer; status:Integer; TotalPages:Integer;
                        SizeHigh:LongInt; dmColor:ShortInt; dmPaperLength:ShortInt; dmPaperSize:ShortInt; dmPaperWidth:ShortInt):HRESULT stdcall;







任何人都可以在delphi中告诉我相当于PChar的unicode;我试图在一个来自unicode DLL的消息框中显示اردوویکیپیڈیا;

谢谢




Can any one tell me the unicode equivalent of PChar in delphi; I am trying to show اردو ویکیپیڈیا in a message box which is coming from a unicode DLL;
Thanks

推荐答案

显然, PWideChar



请从这里开始:http://delphi.about.com/od/objectpascalide/a/understanding-unicode-support-in-delphi.htm [<一个href =http://delphi.about.com/od/objectpascalide/a/understanding-unicode-support-in-delphi.htmtarget =_ blanktitle =New Window> ^ ]。



-SA


这篇关于在Delphi7中UNICODE相当于PChar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆