Re: [python-win32] PyIMAPISession && IID_IMAPIAdviseSink

2010-06-10 Thread Arn Vollebregt
I have made an attempt at implementing the Advise function for PyIMsgStore, as you will find attached. However, following the trend thusfar, onNotify() still is not called. Am I on the wrong path here, or am I still missing something? Regards, Arn Vollebregt P.S.: In my previous email I was clai

Re: [python-win32] disable network interface

2010-06-10 Thread pacopyc pacopyc
Ok, thank you. But I'd like to block network access to a remote host while it is working ... without execute shutdown. Is it possible? I want that it could continue working but without network access. ___ python-win32 mailing list python-win32@python.org

[python-win32] problems when running python script from windows service app

2010-06-10 Thread Damian Okrasa
I'm using Python 3.1.2 on Windows 7. I have windows service written in C which starts python script and it doesn't work. However when C program isn't windows service it works flawlessly. // part of windows service Py_Initialize(); PyRun_SimpleString(buffer); Py_Finalize(); # python scipt import h

Re: [python-win32] disable network interface

2010-06-10 Thread Tim Golden
On 10/06/2010 07:51, pacopyc pacopyc wrote: Excuse me, I'd like to disable network interface of a remote host. I'm thinking to use Win32_NetworkAdapter. Isn't that rather like sawing off the branch you're sitting on? What do you think? How can I do? Is it possible disable network interface? C