Re: [python-win32] PythonScript, unloading the Python engine

2006-08-28 Thread Mark Hammond
> Hi, > > Is it possible to (forcibly) unload the python engine after executing > a python script? Nope - Python has no facility for unloading extension modules, which means that repeated Inits and Terms in the same process tends to be problematic - and as a result we don't finalize at all. We us

[python-win32] PythonScript, unloading the Python engine

2006-08-28 Thread Johan Lindvall
Hi, Is it possible to (forcibly) unload the python engine after executing a python script? I would like to have the Dlls unloaded after Release in the following code: #define WINVER 0x400 #define _WIN32_WINNT 0x400 #include #include #include int main(int argc, char* argv[]) { CoInitialize