[Tutor] Embedded Python on different versions of Windows.
Danny Yoo
dyoo@hkn.eecs.berkeley.edu
Thu Dec 12 21:37:02 2002
On Fri, 13 Dec 2002, BELSEY, Dylan wrote:
> I am still working on embedding Python within C++ and have almost
> reached wits end with a particular issue. At the moment I initialise
> the Python Interpreter within a C++ class (ScriptInterface) using the
> standard Py_Initialise(). The class has a method called Update_10Hz,
> which is called by an EventServer (CORBA) every 100 ms. Within this
> method I use standard commands such as PyRun_SimpleString() and
> PyRun_SimpleFile() to run a python script file.
Hi Dylan,
Yikes.
You may want to ask your question on the main comp.lang.python newsgroup
for this question. Platform-dependent issues suck because they're often
very difficult to debug, and aren't encountered by many of us here.
The problem you're seeing sounds like some weird interaction that happens
in Win2k and not in WinNT. This sounds serious, and you might not get
good answers from us here. There are experts on comp.lang.python that
should have some suggestions for you, so I'd try there.
I wish the best for you!