That Listening Incoming Map

Hello Expert!!!

Here is question for you!!!
------------------------------

When a user map my drive with Windows Explorer, lets say him map my c:\ drive, i want to build a little Delphi application that sit in the tray bar and "listening" incoming (map), so i ask you expert good. How is this possible?
traustiAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

traustiAuthor Commented:
I want to be warn if someone is mapping my drive

Thanks and much points for the correct answer

Regards
Trausti
0
MadshiCommented:
Well, two possibilities:

(1) Poll all the drives (GetDriveType) in a timer...   :-(
(2) Try to get an event from Windows.

Of course (2) would be much better, unfortunately there's no *offical* API for that. If you don't mind using undocumented stuff, look here:

http://www.geocities.com/SiliconValley/4942/index.html

Click on "Contents", then "Shell Notification".

Regards, Madshi.
0
traustiAuthor Commented:
Do you have any project / example?
0
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

MadshiCommented:
No, sorry...   :-(
0
traustiAuthor Commented:
Madshi get the points , thanks
0
MadshiCommented:
Thank you...   :-)

Regards, Madshi.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.