Calling a .dll function from a html page that runs on chrome and firefox

后端 未结 3 2181
长情又很酷
长情又很酷 2020-12-09 22:56

I have a dll written in c++. now i need to call the functions in the dll from a html page.

I have done this by calling the dll in vbscript (Activex) so that i can r

相关标签:
3条回答
  • 2020-12-09 23:31

    You have no chance until you create non-portable extension for all browsers.

    Firefox allows you to create XPI extension aka "addon"

    Chrome has extensions

    There is no cross platform solution for DLL files, however, you can try to create flash or java applet, which will interact with your DLL, it can be "portable" enough for you.

    0 讨论(0)
  • 2020-12-09 23:37

    You can write an NPAPI plugin for both Mozilla and Chrome. Or you can use Firebreath plugin, but there may arise some dependency issue.

    0 讨论(0)
  • 2020-12-09 23:52

    Thanks for answers friends.

    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.

    Here is the link for sample

    http://www.javaworld.com/javaworld/jw-10-1998/jw-10-apptowin32.html

    0 讨论(0)
提交回复
热议问题