C#+ IE9 JS引擎轮? [英] C# + IE9 JS Engine Chakra?
问题描述
我工作的一个很酷的C#应用程序,它使用JS很多关于我们的模型层。
,我们想利用速度提升IE9的轮Javascript引擎
I'm working on a cool C# app, which uses JS a lot for our model layer. We would like to use the IE9 Chakra Javascript engine for speed improvements.
问题:
- 我可以使用查克拉在C#中,并与JS对象作为COM对象进行交互? (上调用JS对象的功能)
- 我可以从IE9单独安装轮? (有些用户没有安装IE9,所以,如果他们没有安装IE9,只是轮会更容易些)。
感谢很多提前对你的专业知识。
Thanks a lot in advance for you expertise.
推荐答案
[更新]基于Cheeso的答案似乎可以使用IE9的JS引擎[/更新]。不过,我发现, V8 JavaScript引擎(Chrome的JS引擎)提到,您可以使用V8引擎你的C ++应用程序。按照 V8嵌入指南,以了解更多信息。我没有发现他们提到的通过COM接口公开V8功能的任何引用,所以你可能不能够从C#中使用它。
[Update] Based on Cheeso's answer it seems you can use IE9's JS engine[/Update]. However I found that V8 JavaScript engine (Chrome's JS engine) mentions that you can use V8 engine in you C++ application. Follow V8 embedder's guide to find out more. I did not find any reference where they mentioned exposing V8 functionality through COM interface, so you might not be able to use it from C#.
这篇关于C#+ IE9 JS引擎轮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!