TChromium使用dll打印控件问题

[复制链接]
查看11 | 回复0 | 2021-1-27 06:03:44 | 显示全部楼层 |阅读模式
请问,这样使用TChromium加打印控件(dll)为什么不行:
begin
//CefOnBeforeCommandLineProcessing:=OnFlash;
CefLocale:='zh-CN';
ifnotCefLoadLibDefaultthenExit;
CefAddWebPluginPath(ExtractFilePath(Application.Exename)+'NPCAOSOFT_WEB_PRINT_lodop.dll');
CefRefreshWebPlugins();
Application.Initialize;
Application.MainFormOnTaskbar:=True;
Application.CreateForm(TForm1,Form1);
Application.CreateForm(TForm2,Form2);
Application.CreateForm(TForm3,Form3);
Application.Run;
end.
打印时还是报要安装控件!!
分 -->
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行