[python-win32] window events via SetWindowsHookExA
Tim Roberts
timr at probo.com
Fri Sep 18 20:24:26 CEST 2009
Antoine Martin wrote:
>
> Yes, I used "dll_handle" without really understanding it... It just
> refused to register the hook otherwise, as it is a "global" one.
> I'll use another technique I think, but just for my own knowledge: if I
> made a DLL with my hook, how would it get loaded into the other
> processes' address space? Just by calling SetWindowsHookExA()?
>
Yes. Windows handles that automatically. People don't always realize
how much overhead is involved in a Windows hook, but there's a lot going
on there.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the python-win32
mailing list