@浏览器无法使用

编程入门 行业动态 更新时间:2024-10-11 03:18:46
本文介绍了@浏览器无法使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

亲爱的编码员, 我正在实现一个基于浏览器的应用程序,该应用程序可以访问某些本机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.

更多推荐

@浏览器无法使用

本文发布于:2023-11-28 18:34:24,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1643502.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:浏览器

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!