如何将浏览器引擎集成到我的 MASM 应用程序中?

发布于 2024-10-09 08:38:09 字数 283 浏览 0 评论 0原文

我正在使用 RadASM IDE 在 MASM 上开发一个应用程序。这个IDE附带了一个IE控件(WebBrowser),但是我想要显示的内容在该浏览器(XHTML+CSS)上被破坏了,而且我想删除外部IE dll的依赖关系,所以这是我想到的唯一解决方案是使用其他浏览器的引擎,如 Firefox 或 Chrome。 我在网上搜索过,发现了一些满足我的要求的 DevKit,但它们被设计为与 VS2005+ 一起使用,或者只是在 C++ 上编码。

如果有人知道如何将浏览器引擎(不是 IE)集成到 MASM 应用程序中,我们将不胜感激。

I'm developing an app on MASM using the RadASM IDE. This IDE comes with an IE control (WebBrowser) but the content that I want to display is broken on that browser (XHTML+CSS), also I want to remove the dependency of an external IE dll so the only solution that comes to my mind is use an engine of other browser like Firefox or Chrome.
I've searched over the net and I found some DevKits that meets my requeriments, but they are designed to work with VS2005+ or they just are coded on C++.

If someone know a way to integrate a browser engine (Not IE) to a MASM app, will be highly appretiated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

长梦不多时 2024-10-16 08:38:09

我怀疑您是否会找到专门帮助您从汇编语言调用它的浏览器 SDK。如今几乎没有人真正用汇编语言编写应用程序。然而,C 语言非常接近汇编语言,因此您所要做的就是使用 C 语言指令并将其转换为汇编语言。由于您已经在用汇编语言编写应用程序,因此这对您来说应该不成问题。

I doubt you will find any browser SDK that specifically helps you call it from assembly language. Almost nobody actually writes applications in assembly language today. However, C is pretty close to assembly, so all you have to do is use the instructions for C and translate to assembly language. Since you're already writing an application in assembly language, that should be no trouble for you.

活泼老夫 2024-10-16 08:38:09

您可以通过 WinAPI 函数 LoadLibraryAGetProcAddress 使用任何附带预编译二进制文件的 SDK。或者,您可以按照 Iczelion 在该主题上撰写的内容(绝对值得一读)或阅读 我的网站上有 3 部分指南,它基于 Iczelions 指南,但适用于实际示例,即为 FMOD API 创建您自己的 MASM 导入库。

是否值得所有的麻烦是另一个问题。

You can use any SDK that comes with pre-compiled binaries using the WinAPI functions LoadLibraryA and GetProcAddress. Or you can build your own import libraries for MASM by following what either Iczelion did write on that topic (definately worth a read) or by reading the 3 part guide on my website, which is based on Iczelions guide but works on a live example, namely creating your own MASM import library for the FMOD API.

Weather it is worth all the hassle is another question.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文