HighDots Forums  

calling javascript from c++ code

Javascript JavaScript language (comp.lang.javascript)


Discuss calling javascript from c++ code in the Javascript forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
83rish@gmail.com
 
Posts: n/a

Default calling javascript from c++ code - 01-15-2008 , 11:44 PM






hi,
I want to know how do we call javascript from c++ code and i know
that it is done through html files.first we call the html filees in
which the javasript code is embedded.i just do not know how we call
these html files through the c++ code.
thanks in advance

Reply With Quote
  #2  
Old   
83rish@gmail.com
 
Posts: n/a

Default Re: calling javascript from c++ code - 01-16-2008 , 01:44 AM






On Jan 16, 10:44*am, 83r... (AT) gmail (DOT) com wrote:
Quote:
hi,
I want to know how do we call javascript *from c++ code and i know
that it is done through html files.first we call the html filees in
which the javasript code is embedded.i just do not know how we call
these html files through the c++ code.
thanks in advance
hello anybody??


Reply With Quote
  #3  
Old   
Thomas 'PointedEars' Lahn
 
Posts: n/a

Default Re: calling javascript from c++ code - 01-16-2008 , 04:56 AM



83rish (AT) gmail (DOT) com wrote:
Quote:
On Jan 16, 10:44 am, 83r... (AT) gmail (DOT) com wrote:
I want to know how do we call javascript from c++ code and i know
that it is done through html files.first we call the html filees in
which the javasript code is embedded.i just do not know how we call
these html files through the c++ code.
thanks in advance

hello anybody??
Being not a real-time medium, it is considered rude in Usenet to expect a
reply after such short a time after the OP.

Your question is also obviously off-topic. Ask instead in a newsgroup
dealing with C++ and the required interfaces to the HTML user agent that you
wish to telecommand. My guess would be that you would wish to telecommand
the MSHTML component in which case getting informed about MFC probably would
be a good start.


HTH

PointedEars
--
Use any version of Microsoft Frontpage to create your site.
(This won't prevent people from viewing your source, but no one
will want to steal it.)
-- from <http://www.vortex-webdesign.com/help/hidesource.htm>


Reply With Quote
  #4  
Old   
Doug Gunnoe
 
Posts: n/a

Default Re: calling javascript from c++ code - 01-16-2008 , 06:34 AM



On Jan 15, 11:44*pm, 83r... (AT) gmail (DOT) com wrote:
Quote:
hi,
I want to know how do we call javascript *from c++ code and i know
that it is done through html files.first we call the html filees in
which the javasript code is embedded.i just do not know how we call
these html files through the c++ code.
thanks in advance
http://www.mozilla.org/js/spidermonkey/


Reply With Quote
  #5  
Old   
Thomas 'PointedEars' Lahn
 
Posts: n/a

Default Re: calling javascript from c++ code - 01-16-2008 , 11:31 AM



Doug Gunnoe wrote:
Quote:
On Jan 15, 11:44 pm, 83r... (AT) gmail (DOT) com wrote:
I want to know how do we call javascript from c++ code and i know
that it is done through html files.first we call the html filees in
which the javasript code is embedded.i just do not know how we call
these html files through the c++ code.
thanks in advance

http://www.mozilla.org/js/spidermonkey/
SpiderMonkey is the JavaScript reference implementation written in C++,
however I don't think that could provide access to JavaScript code used
in HTML documents from another application written in C++.


PointedEars
--
Use any version of Microsoft Frontpage to create your site.
(This won't prevent people from viewing your source, but no one
will want to steal it.)
-- from <http://www.vortex-webdesign.com/help/hidesource.htm>


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.