JavaScript front end for C++ application?
I don't know if this is the best section of the forum to post in, but since I am building in C++ and not MS VC++, I figured it was the only viable place.
I wish to have my functions in my C++ application be accessed from JavaScript... is there a way for me to have a HTML file, with java script open in my application, and have the various events (such as a button click) access a function in my C++ code?
Re: JavaScript front end for C++ application?
Quote:
Originally Posted by
Slippy
I don't know if this is the best section of the forum to post in, but since I am building in C++ and not MS VC++, I figured it was the only viable place.
Your question is a JavaScript issue, not a C++ issue.
How to interface "x" to C++ is all the responsibility of "x", whatever "x" is. So try in the Java forum.
Regards,
Paul McKenzie
Re: JavaScript front end for C++ application?
Quote:
Originally Posted by
Paul McKenzie
So try in the Java forum.
I wouldn't do that for Javascript hasn't more to do with Java than it has with C++.
Re: JavaScript front end for C++ application?
Isn't javascript interpreted and run on the client machine? Wouldn't that basically make it un-interfaceable with c++, by design, anyways?
Re: JavaScript front end for C++ application?
Quote:
Originally Posted by
Slippy
I wish to have my functions in my C++ application be accessed from JavaScript... is there a way for me to have a HTML file, with java script open in my application, and have the various events (such as a button click) access a function in my C++ code?
It looks like time is working in your favour (at least on Windows),
http://channel9.msdn.com/posts/Raman...and-JavaScript