[python-win32] Interacting with the desktop as a service onVista

Mark Hammond mhammond at skippinet.com.au
Sat Oct 25 02:23:57 CEST 2008


> [1] On my python (active state 2.5.1), the
> WTSGetActiveConsoleSessionId() function raises NotImplementedError.
> However, I can easily run it by just invoking it through ctypes:
> ctypes.windll.kernel32.WTSGetActiveConsoleSessionId() Is this a bug?

It is a bug, and I've just checked in a fix (that function is in
kernel32.dll, not in wtsapi32.dll as we assumed.)

Cheers,

Mark



More information about the python-win32 mailing list