Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. intercept file input and outputs

intercept file input and outputs

Scheduled Pinned Locked Moved C / C++ / MFC
sysadminquestionlearning
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Scozturk
    wrote on last edited by
    #1

    Hi, Is it possible to intercept file input and outputs? Let's say I have a server and on that server I have my own forum controlled by my application ( someone connects to it and my application opens a file and put a value in it, the "someone" want to read a value somewhere then my application read a value). Well I want to write another application which will signal me when a change is made in the mdb file (or other types its not important) and which values were inserted or retrieven? Thank you very much in advance for your answers! Well... I am a beginner ...

    D 1 Reply Last reply
    0
    • S Scozturk

      Hi, Is it possible to intercept file input and outputs? Let's say I have a server and on that server I have my own forum controlled by my application ( someone connects to it and my application opens a file and put a value in it, the "someone" want to read a value somewhere then my application read a value). Well I want to write another application which will signal me when a change is made in the mdb file (or other types its not important) and which values were inserted or retrieven? Thank you very much in advance for your answers! Well... I am a beginner ...

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Scolinks wrote: Is it possible to intercept file input and outputs? Yes, but it requires a device driver that watches for all IRPs and FastIO requests. Obviously this is no small undertaking. Scolinks wrote: Well I want to write another application which will signal me when a change is made... This sounds like you simply need to use ReadDirectoryChangesW() and/or FindFirstChangeNotification().


      "When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups