Calum McLean schrieb: > Hi, > > I have encountered a weird problem whan trying a capture events from > some homebrewed COM ( written in Visual Studio 6 ). > > Basically using the PythonWin IDE, if I run the code through the > debugger with a breakpoint at the PumpEvents() line, the event is > detected ( once I have stepped through the breakpoint ). If I do > not have the breakpoint the event is not detected.
This could be an unwanted interaction between PumpEvents (which is a message loop) and the PythonWin message loop. Can you try to run the code in the basic Python interpreter (not PythonWin)? -- Thanks, Thomas ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ comtypes-users mailing list comtypes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/comtypes-users