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 : > 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 interface that COM > object can support. In this specific case, you would have to support > this in your own object if you want to subscribe to the events in the > System Event Notification Service. > > SENS gets involved with COM+ Events and event subscriptions. This is a > relatively complicated topic. It might be better to get some examples > going in C++ before trying to move this to Python. > _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32