VB: File Hook
From: SpaceMan (SpaceMan_at_discussions.microsoft.com)
Date: 11/07/04
- Next message: alpine: "Re: VB: File Hook"
- Previous message: [SolarAngel]: "Re: logfile / resumefile"
- Next in thread: alpine: "Re: VB: File Hook"
- Reply: alpine: "Re: VB: File Hook"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 6 Nov 2004 19:19:02 -0800
Whats the best way to go about programming this..
There is a 3rd party program that writes to a log file at random times. I
need to know each time the file is written to, so i can instantly get the
text that was written.
I dont want to use a timer and constantly check the file for updates, i
would like to somehow be told that the file is being written to and
preferably be told *what* is being written.
After searching around i came across a program called API monitor that
monitors all api calls by a given program. It shows me that the program that
writes the log file is calling WriteFile along with some parameters. My
guess is i need to setup an API-Hook or file-hook. Can someone help me out.
Thanks
- Next message: alpine: "Re: VB: File Hook"
- Previous message: [SolarAngel]: "Re: logfile / resumefile"
- Next in thread: alpine: "Re: VB: File Hook"
- Reply: alpine: "Re: VB: File Hook"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|