c++ tiny-js execute javascript function from external file

javascript c++ pac

68 просмотра

1 ответ

339 Репутация автора

I have a C++ application which has to execute a Javascript-function from a dynamic file. (I need to read a proxy.pac file).

E.g. I have a C++ application running which reads the following file: proxy.pac (which contains the javascript function FindProxyForURL(url, host), which I have to call with the two parameters.

However, I have no idea how to start off and I can't find anything on the internet so far.

So basically my question is: how doe I load dynamic Javascript from a file and execute a function within that code(/file)

Автор: TVA van Hesteren Источник Размещён: 08.11.2017 10:14

Ответы (1)

0 плюса

1 Репутация автора

I made application server using TinyJS. see this. https://github.com/pochi0701/wizdlive

Автор: pochi Размещён: 30.11.2017 06:06
Вопросы из категории :