Is it possible to enter or call c++ code blocks from javascript
functions? If so, how?
Thanks 13 9220
wrote on 24 mei 2007 in comp.lang.javascript :
Is it possible to enter or call c++ code blocks from javascript
functions? If so, how?
In a browser?
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Yeah. Is there any other way to run javascripts except in browsers?
PS I am kind of new to javascripts.
On May 24, 7:04 am, "Evertjan." <exjxw.hannivo...@interxnl.netwrote:
wrote on 24 mei 2007 in comp.lang.javascript:
Is it possible to enter or call c++ code blocks from javascript
functions? If so, how?
In a browser?
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
On Thu, 24 May 2007 07:01:02 -0700, nihad.nasim wrote:
Is it possible to enter or call c++ code blocks from javascript
functions? If so, how?
The simple answer is no. That would violate the browser security model.
I'm sure there's some ActiveX thing you could do to allow for running
local programs... but it would have to be set up on every client you
intend to let use the app.
I do not intend to put the script on the web. Its for my own use and
will be run only on my computer. If you google "c++ in javascripts",
you will find that the first result does say that you can do so but I
am not that sure on how to do so. Thats why I am asking you guys for
help in this matter.
Thanks
On May 24, 7:28 am, Ivan Marsh <anno...@you.nowwrote:
On Thu, 24 May 2007 07:01:02 -0700, nihad.nasim wrote:
Is it possible to enter or call c++ code blocks from javascript
functions? If so, how?
The simple answer is no. That would violate the browser security model.
I'm sure there's some ActiveX thing you could do to allow for running
local programs... but it would have to be set up on every client you
intend to let use the app.
On Thu, 24 May 2007 07:01:02 -0700, nihad.nasim wrote:
On May 24, 7:28 am, Ivan Marsh <anno...@you.nowwrote:
On Thu, 24 May 2007 07:01:02 -0700, nihad.nasim wrote:
Is it possible to
enter or call c++ code blocks from javascript
functions? If so, how?
The simple answer is no. That would violate the browser security model.
I'm sure there's some ActiveX thing you could do to allow for running
local programs... but it would have to be set up on every client you
intend to let use the app.On Thu, 24 May 2007 07:34:40 -0700,
nihad.nasim wrote:
c++ in javascripts
I do not intend to put the script on the web. Its for my own use and
will be run only on my computer. If you google "c++ in javascripts", you
will find that the first result does say that you can do so but I am not
that sure on how to do so. Thats why I am asking you guys for help in
this matter.
The first result (and the majority of the others) talk about making
javascript calls from C++ not C++ calls from javascript.
Please don't top post.
On May 24, 10:01 am, nihad.na...@gmail.com wrote:
Is it possible to enter or call c++ code blocks from javascript
functions? If so, how?
1) A webpage can call functions in ActiveX DLLs in IE.
2) You can host IE browser in a C++ or C# application, and call back
and forth. An example in C# is : http://msdn2.microsoft.com/en-us/library/a0746166.aspx
There used to be C++ examples. Search around msdn.microsof.com.
Kevin
On May 24, 10:01 am, nihad.na...@gmail.com wrote:
Is it possible to enter or call c++ code blocks from javascript
functions? If so, how?
Btw, this is a common mistake in asking questions... it's too
general :-)
Tell us what you want to accomplish instead. Quite often there are
many ways.
Kev
Sorry if I was a bit ocnfusing. This was the link I intended you to
visit http://safari.oreilly.com/0735712778/ch10
Read under the heading "Calling C++ Code from JavaScript"
On May 24, 7:59 am, Ivan Marsh <anno...@you.nowwrote:
On Thu, 24 May 2007 07:01:02 -0700, nihad.nasim wrote:
On May 24, 7:28 am, Ivan Marsh <anno...@you.nowwrote:
On Thu, 24 May 2007 07:01:02 -0700, nihad.nasim wrote:
Is it possible to
enter or call c++ code blocks from javascript
functions? If so, how?
The simple answer is no. That would violate the browser security model.
I'm sure there's some ActiveX thing you could do to allow for running
local programs... but it would have to be set up on every client you
intend to let use the app.On Thu, 24 May 2007 07:34:40 -0700,
nihad.nasim wrote:
c++ in javascripts
I do not intend to put the script on the web. Its for my own use and
will be run only on my computer. If you google "c++ in javascripts", you
will find that the first result does say that you can do so but I am not
that sure on how to do so. Thats why I am asking you guys for help in
this matter.
The first result (and the majority of the others) talk about making
javascript calls from C++ not C++ calls from javascript.
Please don't top post.- Hide quoted text -
- Show quoted text -
On Thu, 24 May 2007 08:28:41 -0700, nihad.nasim wrote:
Sorry if I was a bit ocnfusing. This was the link I intended you to
visit http://safari.oreilly.com/0735712778/ch10
Read under the heading "Calling C++ Code from JavaScript"
"For example, if a developer creates a C++ library for file access and
calls it DWfile, then a new object named DWfile is suddenly available to
all JavaScript developers and Dreamweaver users who install that library
in their copy of Dreamweaver."
wrote on 24 mei 2007 in comp.lang.javascript :
On May 24, 7:04 am, "Evertjan." <exjxw.hannivo...@interxnl.netwrote:
> wrote on 24 mei 2007 in comp.lang.javascript:
Is it possible to enter or call c++ code blocks from javascript
functions? If so, how?
In a browser?
[Please do not toppost on usenet and do not quote signtures]
Yeah.
Not possible as browsers I know of do not interpret c++ code.
Is there any other way to run javascripts except in browsers?
Yes, many,
there are stand alone interpreters,
you can use serverside javascript,
etc.
PS I am kind of new to javascripts.
It shows, as the language is called "javascript" and has nothing to do with
a hypothetical scripting version of Java but the unfortunate choice of
names.
You seem to be new to usenet too? ;-)
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Ivan Marsh wrote on 24 mei 2007 in comp.lang.javascript :
On Thu, 24 May 2007 08:28:41 -0700, nihad.nasim wrote:
>Sorry if I was a bit ocnfusing. This was the link I intended you to visit http://safari.oreilly.com/0735712778/ch10
Read under the heading "Calling C++ Code from JavaScript"
"For example, if a developer creates a C++ library for file access and
calls it DWfile, then a new object named DWfile is suddenly available to
all JavaScript developers and Dreamweaver users who install that library
in their copy of Dreamweaver."
That does not mean c++ code(!!!) is available.
All kinds of plug-ins of the browser could be available.
Accessing servers with clientside javascript also opens the possibility of
executing Fortran, PHP, CGI-exe, SQL, etc.
The same can be said with a browser that has it's security settings turned
of on the client.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
wrote on 24 mei 2007 in comp.lang.javascript :
You are quite right :-D
Quite right on what?
This is not email, but usenet,
so please always quote what you are replying on.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Sender |
last post by:
HI folks. I was wondering. In using forms with javascript, I noticed that
you can create a new line in a multiline text box using the escape code
'\r'. Does anyone know where I could find a list of...
|
by: Axel Foley |
last post by:
I used some of the excellent resources from DITHERING.COM for help in my
groveling newbie attempts to cough up working form validation....
I cut and pasted bits of code to check USA ZIP codes and...
|
by: i6033162556-signup1 |
last post by:
I need to convert some long codes inline. I want to know the generate
rules for doing that.
1 first remove <script></script>
2 use / in front of all "s
3 remove all newline characters.
...
|
by: none |
last post by:
some html here
<script src=1.js></script>
some html here
<script src=2.js></script>
some html here
I want to execute 2.js first, but I can not touch 1.js 2.js. I need to write
a wrapper...
|
by: Randell D. |
last post by:
Folks,
I have two related questions:
1. I have seen unicode being mentioned in my javascript pocket book - is
this the same as ascii codes? I think not though I'm not sure and I
can't find...
|
by: Aaron Gray |
last post by:
I am wondering if there is a table of JavaScript event key codes ?
Thanks in advance,
Aaron
|
by: Jimbo |
last post by:
Basically I'm looking for a function that will parse a string and
replace any entity codes it finds w/ the actual character.
For instance the function would convert "Hello World" into "Hello...
|
by: Kermit Piper |
last post by:
Hello,
I have been searching, Googling, searching. Cannot find a javascript to
calc 10, 11 or 12 digit UPC codes. I just need an algorithm that calcs
to verify the correct check digit. I have...
|
by: bhing |
last post by:
Hiya all!!!
i would like to ask about the http logs i found in logs directory in tomcat.
This is some of the codes i clipped:
-----------------------------------------------------------
...
|
by: freddieMaize |
last post by:
Hi experts, I have a blog with wordpress. They offer two ways to post. One way is the visual thing where one can write her/his content. The second way is, they provide an html way for doing the same....
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |