Re: [python-win32] ISensLogon COM Object

2008-01-10 Thread Roger Upole
Tim Roberts wrote: > Roger Upole wrote: >> This works on XP and Vista. >> > > Well, this clearly proves that the COM path isn't as hard as I said it > was! > > This is a great sample app that demonstrates several things very well. > Is there a Wiki where we could put this for posterity? > win32co

Re: [python-win32] ISensLogon COM Object

2008-01-10 Thread Tim Roberts
Roger Upole wrote: > This works on XP and Vista. > Well, this clearly proves that the COM path isn't as hard as I said it was! This is a great sample app that demonstrates several things very well. Is there a Wiki where we could put this for posterity? -- Tim Roberts, [EMAIL PROTECTED] Pro

Re: [python-win32] ISensLogon COM Object

2008-01-10 Thread Tim Roberts
le dahut wrote: > First, thank you for your answer, you really remove me a spine of the foot. > > I have to use ISensLogon for this reason > http://technet2.microsoft.com/WindowsVista/en/library/6ec4ec6d-6b84-44c9-b3af-116589a42b861033.mspx?mfr=true > today I use Winlogon Notification package to c

Re: [python-win32] ISensLogon COM Object

2008-01-10 Thread Roger Upole
This works on XP and Vista. import win32com.client import win32com.server.policy import pythoncom ## from Sens.h SENSGUID_PUBLISHER = "{5fee1bd6-5b9b-11d1-8dd2-00aa004abd5e}" SENSGUID_SUBSCRIBER_LCE ="{d3938ab0-5b9d-11d1-8dd2-00aa004abd5e}" SENSGUID_SUBSCRIBER_WININET = "{d3938ab5-5b9d-11d1-8dd2-

Re: [python-win32] ISensLogon COM Object

2008-01-10 Thread le dahut
First, thank you for your answer, you really remove me a spine of the foot. I have to use ISensLogon for this reason http://technet2.microsoft.com/WindowsVista/en/library/6ec4ec6d-6b84-44c9-b3af-116589a42b861033.mspx?mfr=true today I use Winlogon Notification package to catch Logon and Logoff ev

Re: [python-win32] ISensLogon COM Object

2008-01-09 Thread Tim Roberts
le dahut wrote: > I've seen several examples in C, Delphi and VB, but I still don't know > how to call "ISensLogon" in python : > win32com.client.Dispatch("ISens.Logon") doesn't work, I've tried many > other things with no more success. You're still thinking about this backwards. You don't call

Re: [python-win32] ISensLogon COM Object

2008-01-09 Thread le dahut
I've seen several examples in C, Delphi and VB, but I still don't know how to call "ISensLogon" in python : win32com.client.Dispatch("ISens.Logon") doesn't work, I've tried many other things with no more success. Could you give me a short example on how to start with this ? Tim Roberts a écrit

Re: [python-win32] ISensLogon COM Object

2008-01-08 Thread Tim Roberts
le dahut wrote: > After crawling this mailing list and googling for this I can't find how > to use it in python. I'm a COM object newbe, I've read some examples but > don't understand it really yet. > Does a guru have a magic answer ? > ISensLogon is not a COM object. Rather, it is an interf

[python-win32] ISensLogon COM Object

2008-01-08 Thread le dahut
After crawling this mailing list and googling for this I can't find how to use it in python. I'm a COM object newbe, I've read some examples but don't understand it really yet. Does a guru have a magic answer ? ___ python-win32 mailing list python-wi