Advertisement Jump to content
Sign in to follow this  
Warhorseii

Stream question...

This topic is 4882 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a log file being updated by a third party program... I am trying to figure out how to have my app. recognize that the log file has been edited or data has been appended to that log file. Sort of like a listen() for a file change. I looked through all the stuff in my book on file I/O and cannot seem to come up with any ideas. I assume there is something in the windows API for this... Any ideas would be helpful, -- Warhorseii

Share this post


Link to post
Share on other sites
Advertisement
Each file should have a timestamp indicating when they've last been modified. Check it. How to do that depends on what OS you're using.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!