使用 TChromium,Delphi Chromium Embedded [英] Using TChromium, Delphi Chromium Embedded

查看:64
本文介绍了使用 TChromium,Delphi Chromium Embedded的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我最后一个问题的延续.在那个问题中,我展示了一个涉及 TWebBrowser 生成线程的问题,该线程在浏览器销毁后仍然存在.虽然没有人可以提供该问题的解决方案,但有人建议该问题可能是不可修复的(TWebBrowser 组件本身存在缺陷).

This is a continuation of my last question. In that question I showed a problem involving TWebBrowser generating threads that persisted after the Browsers destruction. While noone could provide a solution to the problem, it was suggested that the problem could be a non-fixable one (a flaw with the TWebBrowser component itself).

因此,我尝试下载和使用 Delphi Chromium 嵌入式框架.我下载了组件并将它们添加到 Delphi,将一个添加到一个新表单并尝试运行该程序,此时它在

Because of this I have attempted to download and use the Delphi Chromium Embedded Framework. I downloaded the components and added them to Delp added one to a new form and attempted to run the program, at which point it throws up a CPU break point at

5264DF81 6A01 push $01

模块加载:icudt46.dll.没有调试信息.基本地址:$562C0000.处理 DCEFTestRun.exe (3080)

Module Load: icudt46.dll. No Debug Info. Base Address: $562C0000. Process DCEFTestRun.exe (3080)

没有错误信息,但是当程序手动继续时它会关闭.我之前没有使用 DCEF 的经验,也没有使用过第 3 方组件的经验,而且 DCEF 站点的文档非常缺乏.

There is no error message, but when the program is continued manually it closes. I have had no experience with DCEF before, nor any experience using 3rd party components and the DCEF site is sorely lacking in documentation.

我想我要求的最简单的事情是一个简单的演练(非常基本的),了解要下载/安装什么以及在哪里可以让 Chromium 组件工作.

I suppose the easiest thing i'm asking for is a simple walkthrough (very basic) of what to download/install and where to get the Chromium Components to work.

提前谢谢你.

推荐答案

您缺少 Chromium 嵌入式框架 (CEF) 核心库.复制..dcef的内容就足够了binWin32 文件夹(从您下载的包)到您的项目的输出目录(或到一些 已知文件夹 可从项目的可执行文件访问的位置).

You are missing the Chromium Embedded Framework (CEF) core libraries. It is enough to copy the content of the ..dcefinWin32 folder (from your downloaded package) into your project's output directory (or into some of the known folders location reachable from your project's executable).

这篇关于使用 TChromium,Delphi Chromium Embedded的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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