[python-win32] comtypes prelease available
Thomas Heller
theller at python.net
Fri Aug 19 23:45:22 CEST 2005
I have uploaded an early preview release for comtypes. As you might
know, comtypes is a new COM library for Python, based on the ctypes
package.
There is not yet any documentation, but I hope that at least some of the
unittests provided give an impression how it is supposed to be used.
There are also some docstrings in the comtypes/client/__init__.py
module, which contains the high level functions to use.
Highlights:
- access *custom* interfaces easily. This works best if they provide
type information
- automatic typelib wrapper generation. This even should work in frozen
executables.
- event support.
- comtypes is supposed to provide good support for
Limitations:
- there is currently *no* server side support. You cannot yet write COM
servers in comtypes, although I hope that can follow soon.
- custom interfaces work best (IUnkown based or IDispatch based). Pure
dispinterface support is somewhat limited (but then there is pywin32,
if you need that).
Enjoy,
Thomas
SF project page:
http://sourceforge.net/projects/comtypes/
Download page:
http://sourceforge.net/project/showfiles.php?group_id=115265
Requires ctypes.0.9.8, which is also available for download at this
page.
More information about the Python-win32
mailing list