Thank you for your suggestion. I have tried to run the test code direct from
the basic Python interpreter - no event is detected.
Regards,
Calum....
________________________________
From: Thomas Heller <thel...@ctypes.org>
To: comtypes-users@lists.sourceforge.net
Sent: Wed, 3 February, 2010 14:47:45
Subject: Re: [comtypes-users] Detecting Events problem - works with breakpoint
at PumpEvent()
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
------------------------------------------------------------------------------
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