CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 1999
    Location
    Romania, Bucharest
    Posts
    253

    monitoring open file

    hi there
    does anyone know how can i log the activity of the file system?
    i need to know when a file opens and store the name in a database
    thank in advance for your help

  2. #2
    Join Date
    Apr 1999
    Posts
    3,585
    The Windows Shell API provides a notification mechanism through the SHChangeNotify() function. There is a technique descrived in the book Visual C++ Windows Shell Programming that talks about this. Look for the section called Towards a File System Monotoring Utility.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured