Re: [python-win32] killing overlay extensions

2008-07-08 Thread Mark Hammond
> I am trying to provide a way for user to [totally] disable the overlay > extension, and enable them later if they want, without having to go > through the pain to remove the shell extension from windows registry. Why is removal from the registry a pain? > > If you want something specific to you

Re: [python-win32] killing overlay extensions

2008-07-08 Thread Mark Hammond
> The debugging trace suggests that IsMemberOf are called after > GetOverlayInfo, which itself is called when Explorer starts up. That is correct - GetOverlayInfo is called just once per process IIUC. Having this function fail should prevent your IsMemberOf being called - but once it has been s

Re: [python-win32] killing overlay extensions

2008-07-08 Thread Tim Golden
Mark Hammond wrote: The debugging trace suggests that IsMemberOf are called after GetOverlayInfo, which itself is called when Explorer starts up. That is correct - GetOverlayInfo is called just once per process IIUC. Having this function fail should prevent your IsMemberOf being called - but

Re: [python-win32] ctypes question DLL

2008-07-08 Thread Tim Golden
Marcus Low wrote: Hi, I have been reading the documentation on ctypes and the 2.5 python on ctypes when it comes to loading libraries. But surprisingly, or maybe i miss it somewhere, but How do you unload the loaded dll? For eg : dllfunc = ctypes.CDLL("mylib.dll") Later if i want to replac

[python-win32] IE & DocumentComplete

2008-07-08 Thread aaron
Sorry if this is a repeat, but the information on the web regarding DocumentComplete and IE is not helping me find a solution. I read a 2000 thread that documentcomplete was 'broken'.. is this still the case? If not, does anyone mind sending me a snippet of some working code where it's used? I f

[python-win32] re: IE & DocumentComplete

2008-07-08 Thread Roger Upole
aaron wrote: Sorry if this is a repeat, but the information on the web regarding DocumentComplete and IE is not helping me find a solution. I read a 2000 thread that documentcomplete was 'broken'.. is this still the case? If not, does anyone mind sending me a snippet of some working code where

Re: [python-win32] killing overlay extensions

2008-07-08 Thread TK Soh
On Tue, Jul 8, 2008 at 7:08 AM, Mark Hammond <[EMAIL PROTECTED]> wrote: >> I am trying to provide a way for user to [totally] disable the overlay >> extension, and enable them later if they want, without having to go >> through the pain to remove the shell extension from windows registry. > > Why i

Re: [python-win32] killing overlay extensions

2008-07-08 Thread TK Soh
On Tue, Jul 8, 2008 at 8:24 AM, Tim Golden <[EMAIL PROTECTED]> wrote: > Mark Hammond wrote: >> >> >>> >>> The debugging trace suggests that IsMemberOf are called after >>> GetOverlayInfo, which itself is called when Explorer starts up. >> >> That is correct - GetOverlayInfo is called just once per

Re: [python-win32] killing overlay extensions

2008-07-08 Thread TK Soh
On Tue, Jul 8, 2008 at 7:29 AM, Mark Hammond <[EMAIL PROTECTED]> wrote: > >> The debugging trace suggests that IsMemberOf are called after >> GetOverlayInfo, which itself is called when Explorer starts up. > > That is correct - GetOverlayInfo is called just once per process IIUC. > Having this fun