Re: [python-win32] Interaction between wxPython and win32ui on Win 7

2011-05-09 Thread Dietmar Schwertberger
Am 09.05.2011 03:03, schrieb Mark Hammond: Where exactly does things get stuck? Do you see that print statement, or is it app.MainLoop which fails to return? The main loop retuns such that I see the print statement. But the interpreter does not exit. Even if I move the win32ui import right

Re: [python-win32] Interaction between wxPython and win32ui on Win 7

2011-05-08 Thread Mark Hammond
On 7/05/2011 8:32 PM, Dietmar Schwertberger wrote: Hi! I'm observing some strange interaction between wxPython and win32ui on Windows 7 PCs. win32ui is built around the MFC framework, so has a fair bit of complications just from that layer. However, just importing win32ui and not creating

[python-win32] Interaction between wxPython and win32ui on Win 7

2011-05-07 Thread Dietmar Schwertberger
Hi! I'm observing some strange interaction between wxPython and win32ui on Windows 7 PCs. I've been using DDE code from Pythonwin which in turn uses win32ui. When I use win32ui and SetToolTipString from wxPython in the same program, the Python interpreter will not exit any more (until it's

Re: [python-win32] Interaction between wxPython and win32ui on Win 7

2011-05-07 Thread Michel Claveau
Hi! I have the same problem, in several cases without wx (OCX+pywin32 ; ATL+ctypes ; etc.) For terminate these rebel scripts, I use this code: import os pid=os.getpid() os.system(TASKKILL /F /PID +str(pid)) @-salutations -- Michel Claveau