I'm investingating a c++ api, Panda3d.com, that has a python binding.
I want to convert this api into an ACtiveX control so it will run on
the web. When I do so I want to use Microsoft Script Control to call
api routines from Javascript in the browser.
Let's say I write up a game in python with my own functions. Then I
embed it in a web page and I want to call my functions from javascript?
How can I do it. Script control allows you to bind api functions to
javascript, but not the functions in my python file.
Adobe Atmoshere a 3D application that ran in a web page, had a
javascript binding. You could write code in a javascript file, and it
would be interpreted during start-up. After that, I could send function
calls in the form of a string from the browser to atmosphere. How did
this work? Is the api aware of the python functions and variables
after it is loaded up?
Confused,
Dan 2 1520
whimsica wrote: I'm investingating a c++ api, Panda3d.com, that has a python binding. I want to convert this api into an ACtiveX control so it will run on the web. When I do so I want to use Microsoft Script Control to call api routines from Javascript in the browser.
Let's say I write up a game in python with my own functions. Then I embed it in a web page and I want to call my functions from javascript? How can I do it. Script control allows you to bind api functions to javascript, but not the functions in my python file.
Adobe Atmoshere a 3D application that ran in a web page, had a javascript binding. You could write code in a javascript file, and it would be interpreted during start-up. After that, I could send function calls in the form of a string from the browser to atmosphere. How did this work? Is the api aware of the python functions and variables after it is loaded up?
Confused,
I'm confused as to why on earth you cross-posted this to this comp.lang.c++, which (if the name doesn't make it
sufficiently obvious) is a forum for C++ *language* issues.
--
Lionel B
> I'm investingating a c++ api, Panda3d.com, that has a python binding. I want to convert this api into an ACtiveX control so it will run on the web. When I do so I want to use Microsoft Script Control to call api routines from Javascript in the browser.
Let's say I write up a game in python with my own functions. Then I embed it in a web page and I want to call my functions from javascript? How can I do it. Script control allows you to bind api functions to javascript, but not the functions in my python file.
Adobe Atmoshere a 3D application that ran in a web page, had a javascript binding. You could write code in a javascript file, and it would be interpreted during start-up. After that, I could send function calls in the form of a string from the browser to atmosphere. How did this work? Is the api aware of the python functions and variables after it is loaded up?
Confused, Dan
So what's your question about the C++ language. ActiveX, Javascript,
phython, web stuff are off topic. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Gernot Hillier |
last post by:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
I'm the developer of a Linux ISDN application which uses embedded Python for
controlling the communication. It starts several threads (i.e....
|
by: whimsica |
last post by:
I'm investingating a c++ api, Panda3d.com, that has a python binding.
I want to convert this api into an ACtiveX control so it will run on
the web. When I do so I want to use Microsoft Script...
|
by: Berata |
last post by:
Hello all,
in VB6 we were able to create ActiveX-DLL's (In Process Components) and
ActiveX-Exe's (Out of Process Components).
We habe build up an application that exists of an main module...
|
by: Strath-Clyde |
last post by:
I'm a die hard c# developer, developing win32 and web based enterprise apps
for last few years.
The development team I'm on is going down a path I feel is wrong.
I scoping out the web to knock...
|
by: tnhoe |
last post by:
Hi,
I am looking for above. Any recommendation ?
The GSM modem is a data card with phone chip in notebook which can send sms directly without going through other sms gateway URL.
I only need...
|
by: danbrwn |
last post by:
I am creating a web application where I access a database on a SQL
server machine from local networked PC's via Javascript and HTML.
Unfortunately, Microsoft does not allow the ado intervace to...
|
by: marcosnogood |
last post by:
Hello,
I need to dynamically load an activex object because what
object to load is based on certain conditions. Also I need to
wait for the object to have initialized before moving on. What I...
|
by: Gonzalo Monzón |
last post by:
Hi all!
I have been translating some Python custom C extension code into Python,
as I need these modules to be portable and run on a PocketPC without the
need of compile (for the purpose its a...
|
by: Wade Yin |
last post by:
Hi,
If I can write a ActiveX component that can support socket
communication in webpage, that will make browser have strongger
capability to communicate with different clients, but not only can...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
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: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
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...
| |