Windows Explorer Context Menu

Thomas Heller theller at python.net
Wed Dec 18 13:28:04 EST 2002


Syver Enstad <syver-en+usenet at online.no> writes:

> Dave Brueck <dave at pythonapocrypha.com> writes:
> 
> > 
> > Another approach is to use Thomas Heller's ctypes module - once you
> > figure
> > 
> > out which Windows APIs to call then you might be able to do it from
> > Python
> > 
> > with ctypes.
> 
> I think that might be difficult as you need to have windows call
> you. I made a shell extension in C++ once and the process is that you
> make a dll and register this in with the system, the system will then
> load your dll and start calling into it. I don't think ctypes solves
> this, but then I might be wrong.
>  

I've never written a shell extension, but browsing MSDN a little it
seems a shell extension is an inprocess COM object implementing some
interfaces. So would it be possible using win32all?

ctypes currently cannot do it, but I'm working on it ;-)

Thomas



More information about the Python-list mailing list