win32 shell extension (virtual drive)

T

Tiziano Bettio

Hi there

I'm looking for a simple solution of a win32 shell extension (virtual
drive).

It should make available a new drive with letter, which will be
read-only. Instead of a network drive or similar it then should query a
server application for directory/file listing.

Would be nice to have a lib or similar for that.

Any hints??

tizi
 
F

Fuzzyman

Not much help... but the place to be looking is in the win32 api.
You'll then need to see if the functionality is already exposed in the
win32 extensions by Mark Hammond - if not you can use ctypes to access
it. The ctypes mailing list might be a useful place to ask questions -
but it's not something I can help with... although if someone feels
like writing a tutorial it's a subject I would be very interested in...

Regards,

Fuzzy
http://www.voidspace.org.uk/python/index.shtml.
 
R

Roger Upole

There's an example shell extension in the Pywin32 demos
that creates a pseudo-folder whose contents are determined by
python code. Take a look at
\win32comext\shell\demos\servers\shell_view.py.
However, I don't think it qualifies as 'simple' ;)

Roger
 
T

Tim Roberts

Tiziano Bettio said:
I'm looking for a simple solution of a win32 shell extension (virtual
drive).

It should make available a new drive with letter, which will be
read-only. Instead of a network drive or similar it then should query a
server application for directory/file listing.

Creating a new virtual folder with a shell extension is easy. Creating a
new drive letter requires that you write a file system driver, something
that (A) must be written in C, (B) requires the expensive "installable file
system kit" from Microsoft, and (C) no human being really wants to do.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,222
Messages
2,571,142
Members
47,757
Latest member
PDIJaclyn

Latest Threads

Top