What is the ProgId or CLSID for IE9's Javascript engine (code-named “Chakra”)

前端 未结 3 1462
挽巷
挽巷 2020-11-28 05:18

Using .NET, I can write an app that hosts a scripting engine that complies with Microsoft\'s IActiveScript conventions. This includes JScript and VBScript from Microsoft, a

3条回答
  •  情书的邮戳
    2020-11-28 05:37

    You can now call the Chakra runtime directly through published API's and you don't have to use IActiveScript anymore.

    Here is an article on MSDN showing how to host the Chakra runtime in C++ or C#:

    https://web.archive.org/web/20151103122111/https://code.msdn.microsoft.com/windowsdesktop/JavaScript-Runtime-Hosting-d3a13880

    (Note: As of 2019, The code example is on github.com/microsoft/Chakra-Samples)

提交回复
热议问题