Hi Folks,
We've been using Python embedded in an application for a while now,
where the Python dll is PythonNN.dll, NN being the version number, such
as Python24.dll.
Recently it was pointed out to me that Python can run in a debug or
release configuration and that you can specify this on the command line
using -O and -OO.
My question is how do I specify this to the Python DLL I have embedded
in my application? Is it as straightforward as:
o Use PythonNN.dll for release mode Python
o Use PythonNN_d.dll for debug mode Python
and if so, how do I specify I want -O or -OO with release mode?
I've tried looking at the C API documentation but couldn't find anything
useful there.
We are using versions of Python from 2.2 upwards.
Cheers
Stephen
--
Stephen Kellett
Object Media Limited
Computer Consultancy, Software Development
Windows C++, Java, Assembler, Performance Analysis, Troubleshooting