Re: [python-win32] Embedding python in a win32 dll and a wx thread

2008-06-12 Thread Mark Hammond
> Everything works fine for the first time (python initialize/shell start/ shell > terminate/ python finalize) But after a while I realized that I need to > reinitialize python and start all over again. > The problem is that I have no control over loading and unloading my dll > Which means tha

[python-win32] Embedding python in a win32 dll and a wx thread

2008-06-11 Thread mani sabri
Hello everyone It's a big post but I think it's an interesting problem and the result may become a good recipe for embedding python in many applications in windows. I'm on winxp sp2 using python 2.4 unicode, wxpython 2.8.7 unicode and vs2003... I'm embedding python in a non opensource f