comtypes icon indicating copy to clipboard operation
comtypes copied to clipboard

A pure Python, lightweight COM client and server framework, based on the ctypes Python FFI package.

Results 157 comtypes issues
Sort by recently updated
recently updated
newest added

This is a re-post of a bug report that was originally posted in the merged PR #525, to prevent it from being overlooked. Changes to prevent this error have been...

bug

Based on the posts in the issues so far, I have decided to clearly state the frequently asked questions in the README. By reducing the iterations of these questions and...

See #474. I migrated the code from the old `istream-issue` branch to the latest `main` branch. Let me know if anything else needs to be done. Closes #474

enhancement

Is there any plan/ability to support WSL? The module installs fine from Python in WSL but complains `ImportError: cannot import name 'COMError' from '_ctypes'` on import. Same issue in Cygwin...

I use comtypes for making several local servers to provide plugins for another application. I have a lot of challenges working with the MessageLoop class (https://github.com/enthought/comtypes/blob/76c35421c3d8f41e97db861209b4f640b0061b0b/comtypes/messageloop.py#L18) for single threaded apartments,...

enhancement
help wanted

I noticed that the tests for `comtypes.npsupport` fail when `numpy==2.0.0` is installed. ``` ERROR: test_VT_I4_ndarray_enabled (test_npsupport.NumpySupportTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "...\comtypes\comtypes\test\test_npsupport.py", line 66, in call_enabled func(self) File...

tests
npsupport

Modern packaging methods were introduced in #556 and #557. Until then, the code base in `setup.py` was old, such as not having `distutils` replaced by `setuptools` until Python 3.12 support....

tests