Hi,
A short time ago, I asked a question in this newsgroup about
writing a device driver. It is:
--
Hi,
I would like to write a program:
In Windows Explorer, after drag&drop a file to
a pre-defined drive letter (for example F:) the file
should be sent through the COM port to an
external device(digital satellite receiver).
Where should I start?
Do I have to write a device driver?
--
I was told that writing a device driver
is not neccessary and a Shell Namespace Extension with a
drag&drop handler can do the job. I had a short look at MSDN about
Creating a Shell Namespace Extension.
Now, I'm asking my question more clearly.
My scenario is:
As soon as the user attaches the RS-232 cable to the computer (at the other
end it is attached to the RS-232 port present on the external device) a
drive
letter F: should appear in Windows Explorer automaticly(like in digital
cameras)
and when the user drag&drops a file to F: the file should be sent through
the
COM port to the external device.
So, can Shell Namespace Extension provide what I need? I'm going to execute
my program with Shell Namespace Extension only once, then restart the
computer.
Now, may I expect to see the drive letter F: in Windows Explorer if I attach
the
RS-232 cable to the computer? Will it disappear if I detach the cable?
About the other case (displaying the drive letter F: automaticly is not
necessary, it
may always be visible, it will not be influenced from attaching and
detaching the cable):
I'll execute my program with Shell Namespace Extension. I'll see the
drive letter F: in Windows Explorer, then I can transfer the file to the
external
device. What will happen if I restart the computer? Will the drive letter F:
remain
in Windows Explorer?
Thanks...