By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,814 Members | 1,050 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,814 IT Pros & Developers. It's quick & easy.

C++ ActiveX python javascript communication trouble.

P: n/a
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

Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
> 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.

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.