FindFirstChangeNotification - how to get the name of the file

How can I get the name of the file that created the notification when using the FindFirstChangeNotification function?
In NT there is another function (ReadDirectoryChangesW) which gives you the name of the file that generated the notification, but this function does not work in Win9x.

Any solutions for the FindFirstChangeNotification function ?
CorneliuTusneaAsked:
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.

nietodCommented:
I am pretty sure there is no way to get that in 9x.  but you can simply create a list of all the files being monitored (their name size, and last modification date) before monitoring and then look for changes on each notification.
0
CorneliuTusneaAuthor Commented:
And what if I monitor 20.000 directories?
0
nietodCommented:
For that sort of processing, you probably want NT anyways.  :-)
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

CorneliuTusneaAuthor Commented:
I think you'r rigth :-)
Thanks.
0
AlexVirochovskyCommented:
1. Nietod is right

2. But if you want 95/98 solution for monitoring file activities, you
can use filemon source code. I 've sent
you file filemon.zip with this code
(and filemon.vxd).
Alex
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
nietodCommented:
What does filemon do in order to solve the "problem"?
0
CorneliuTusneaAuthor Commented:
The "filemon" is a VXD for Win9x which intercepts all file access.
Ask Alex for the file. It's his file, so I have no rights to send it to you.
In the files there was a link, maybe there you will find the same file:
ftp://ftp.ora.com/pub/examples/windows/win95.update/regwiz.html
0
nietodCommented:
I'm just curious about the implimentation.  
0
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
C++

From novice to tech pro — start learning today.