Tim Roberts wrote:
> On Thu, 12 Jan 2006 10:52:09 +0100, Dirk Duckhorn <[EMAIL PROTECTED]>
> wrote:
> 
> 
>>I dunno if this is a know issue, but I tried to run pywin32 with a wxPython
>>script. The pywin32 components run real well but the GUI freezes.
>>Does someone know a way to get around this?
>>
> 
> 
> You're going to have to be a lot more specific.  pywin32 is a very large
> package, encompassing everything from the simplest GetVersion API to the
> COM wrappers to the pythonwin IDE, with vast gobs of stuff in between.
> 
> What specific APIs did you add that caused the freeze?
> 
I'd have thought the solution was obvious: the wxPython and Windows MFC 
event loops will collide. This is because PythonWin doesn't run scripts 
as a separate process, but within PythonWin's context.

Things will probably work fine until you call wx.MainLoop().

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC                     www.holdenweb.com
PyCon TX 2006                  www.python.org/pycon/
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to