从在 chrome 和 firefox 上运行的 html 页面调用 .dll 函数 [英] Calling a .dll function from a html page that runs on chrome and firefox
问题描述
我有一个用 C++ 编写的 dll.现在我需要从 html 页面调用 dll 中的函数.
I have a dll written in c++. now i need to call the functions in the dll from a html page.
我通过在 vbscript (Activex) 中调用 dll 来做到这一点,这样我就可以在 IE 中运行唯一的.
I have done this by calling the dll in vbscript (Activex) so that i can run the only in IE.
现在我需要在 Chrome 和 Firefox 上运行它.
Now i need to run this on Chrome as well as Firefox.
我必须做什么,是必须简单地用 javascript 编写还是需要为此开发任何扩展?
What i have to do, whether i have to write in javascript simply or need to develop any extensions for that ?
任何人都可以通过一个简单的演示给出解决方案吗?
can anyone give a solution with a simple demo for this?
提前致谢.
推荐答案
感谢朋友们的解答.
我得到了另一个解决方案.我编写了签名小程序来调用从 html 或任何 Web 应用程序运行的 dll.它几乎可以在所有浏览器上运行.
I got another solution. I wrote signed applets to call dll that runs from a html or any web application. It almost run on all browsers.
这篇关于从在 chrome 和 firefox 上运行的 html 页面调用 .dll 函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!