@浏览器无法使用 [英] @ Browser incapability

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

问题描述

亲爱的编码员,

我正在实现一个基于浏览器的应用程序,该应用程序可以访问某些本机c ++调用运行时.我在浏览器上使用Http,并使用Java脚本和JNI调用本机c ++.

到目前为止,只有使用野生动物园浏览器,我才能获得某种程度的成功.
有人可以启发我为什么这在其他浏览器中不起作用,或者我应该考虑解决此问题的原因吗?

另外,我的本机呼叫使用了一些第三方dll和OpenGL,并且所有这些都是动态加载的!

谢谢与问候,
Anoop SL

Dear Coders,

I''m implementing a browser based application which accesses some native c++ calls runtime. I''m using Http at browser and calling my native c++ using java script and JNI.

So far I''m successful to some degree only with safari browser.
Can somebody enlighten me on why this is not working in other browsers or to what I should look into to resolve this behavior?

Also my native call uses some 3rd party dll''s & OpenGL and all are loaded dynamically!

Thanks & Regards,
Anoop SL

推荐答案

浏览器内部使用的JVM被沙盒化".他们限制了浏览器外部的访问,以防止恶意代码损坏客户端计算机.

如果您仍在调用外部进程时遇到问题,建议您在浏览器中检查支持第三方dll的要求.通常的方法是只能调用已签名的可执行文件.但是,Safari可能也允许本地生成的dll.
The JVM used inside a browser are ''sandboxed''. They have restricted access outside of the browser to prevent malicious code damaging the client machine.

If you are [still] experiencing problems with calling your external processes, I would recommend checking the requirements for supporting third party dll''s in the browser. The normal approach is that only signed executables can be called. However safari may well allow locally built dll''s as well.


这篇关于@浏览器无法使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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