Pythonwin COM and GDI

Syver Enstad syver-en+usenet at
Tue Apr 8 16:12:04 CEST 2003

Tim Hoffman <timh at> writes:

> Hi
> I have gone through the activestate docs, I must be thick,
> cause I can't quite fathom the difference. 

gdi32.dll is not a COM dll so you can't use makepy on it. See below
for what you can do.

> Also it seems some of the
> stuff is in the win32ui module but unfortunately not the things I need
> like CreateEnhWMF.

If functions are not present in win32gui or win32ui (win32ui is MFC
based), install ctypes and use this module to get what you want, or
you could try using pyrex.


Vennlig hilsen 

Syver Enstad

More information about the Python-list mailing list