comtypes
comtypes copied to clipboard
A pure Python, lightweight COM client and server framework, based on the ctypes Python FFI package.
when i run script itself it says: ``` File "D:\disSzczur\srakammmm\lib\site-packages\comtypes\__init__.py", line 1020, in class helpstring(unicode): NameError: name 'unicode' is not defined ``` could someone help?
The documentation linked in the readme https://pythonhosted.org/comtypes/ is for version 1.1.3 released in 2016.
Currently if a COM method out param is a VARIANT that is VT_R8|VT_ARRAY, the following exception is raised when calling the method: ``` File "...comtypes\automation.py", line 510, in __ctypes_from_outparam__ result...
It is says that comtypes safearray_as_ndarray context manager will accelerate the reading speed of large array from COM. I tried it with ASCOM camera classes. The ASCOM can return ImageArray...
This happens if you import first an admin user, as admin user in python run `from comtypes.client import CreateObject` This works, then as an ordinary user run the same command....
Can you help me? GetXData AppName, XDataType, XDataValue XDataType, XDataValue while be returned,How to pass these parameters?
 This is my script.  This is the result. I just wonder how that fatal exception occurs and how we can fix it.
Split from https://github.com/enthought/comtypes/issues/216 Currently new pip is forced to whenever installing this package to first locally create a wheel, then install it. We should be creating and publishing universal wheels....
Creating an issue about this for tracking. 3.10 release notes mark distutils as deprecated and set a date for removal https://docs.python.org/3.10/whatsnew/3.10.html#distutils
When connecting to a third party COM server I get the following error: ``` Traceback (most recent call last): File "v:/dev/Projekte3/inventsim_py/basic.py", line 4, in app = comtypes.client.CreateObject("EMInvent.InventSim.App") File "C:\Users\jan\AppData\Roaming\Python\Python38\site-packages\comtypes\client\__init__.py", line...