Te-jé Rodgers wrote:
>
> I don’t know if I’m in the right place. Basically I’m doing some
> messing about in the Windows API which has been going fine so far, but
> then I noticed most of the newer APIs require interfaces, like this
> one: http://msdn.microsoft.com/en-us/library/dd368183(VS.85).aspx
> <http://msdn.microsoft.com/en-us/library/dd368183%28VS.85%29.aspx>.
>
>  
>
> I’d like to know how I would be able to wrap and use those from Python.
>

PyWin32 has always supported COM interfaces, as long as they support
late binding (meaning IDispatch).  These DirectWrite interfaces are
still in beta (they are Win 7 only), so I seriously doubt anyone has
played with them enough to know whether they do IDispatch.

If they don't, it's always (well, almost always) possible to handle
these with ctypes and comtypes.

-- 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to