enthought / enthought/comtypes

PumpEvents - does not work on windows 10

Open
#318 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
345
Forks
105
PR merge metrics
No merged PRs in 30d

Description

Using python 3.9.7 and Windows 10.

When trying out a COM DLL that supports events (written in C++) the ShowEvents function detects and prints out the events correctly but attaching an event handler and using PumpEvents(1) does not result in any report.

However same script reports events when I replace "PumpEvents(1)" with "pythoncom.PumpMessages()".

Any idea why i need to pump **messages** using another python module?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.