Re: [python-win32] Can win32com handle this one?

2008-02-05 Thread Tim Golden
David Abrahams wrote: > on Mon Feb 04 2008, "Mark Hammond" wrote: >> Unfortunately, win32com doesn't support arbitrary interfaces. If the object >> you are using doesn't support IDispatch, then you can't use it from >> win32com. You may like to try something like: >> >> ob = win32com.client.Disp

Re: [python-win32] Can win32com handle this one?

2008-02-05 Thread Tim Golden
Tim Golden wrote: > David Abrahams wrote: >> on Mon Feb 04 2008, "Mark Hammond" wrote: >>> Unfortunately, win32com doesn't support arbitrary interfaces. If the object >>> you are using doesn't support IDispatch, then you can't use it from >>> win32com. You may like to try something like: >>> >>>

[python-win32] RegisterServiceCtrlHandler(Ex) and Handler(Ex)

2008-02-05 Thread le dahut
Hello, While trying to use RegisterServiceCtrlHandler function, it appears that this function acts like RegisterServiceCtrlHandlerEx if it is run on W2000 or higher. According to msdn, a HandlerEx function has to be used to get callbacks. This function should take 4 arguments : DWORD WINAPI

Re: [python-win32] RegisterServiceCtrlHandler(Ex) and Handler(Ex)

2008-02-05 Thread Mark Hammond
> While trying to use RegisterServiceCtrlHandler function, it appears > that > this function acts like RegisterServiceCtrlHandlerEx if it is run on > W2000 or higher. Yes - this is because it calls RegisterServiceCtrlHandlerEx on those platforms. > According to msdn, a HandlerEx function has to

[python-win32] Vista ; elevation (for developers)

2008-02-05 Thread Michel Claveau
Hi! Developers of PyWin32, what do you think for thia page: http://www.codeproject.com/KB/vista-security/UAC__The_Definitive_Guide.aspx @-salutations -- Michel Claveau ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman