Reputation: 3 Apprentice
- Active Posts:
- 16 (0.12 per day)
- 09-February 13
- Profile Views:
- Last Active:
- May 10 2013 01:04 PM
- Dream Kudos:
Posts I've Made
Posted 5 May 2013Disregard, I will just do it on a timer. Is there a way to check if the file is in use in another program using FileSystemWatch?
Posted 5 May 2013First off, sorry for the quotes. A forum I frequent notifies people of replies if you quote them. Forgot not all forums were like that.
I have a game that saves out a file every few seconds. What I am doing is trying to check through the hex file to see if the internal contents are different. If they are, it will find out what is written at a certain point in the file, and it will grab the value at that point. This value also doubles as an address in a list, so it checks that address for a name, and writes the name in a label I have on my form.
However, since the file is saved out every few seconds, I have to check it a lot. I don't know how to check it every frame.
Posted 5 May 2013No, what I'm doing is updating the scene if the files are different.
Posted 5 May 2013Okay, what I am doing is making a copy of the file when the program starts, and I need to check if 1.ext is the same as 1c.ext. How would I go about doing that?
Posted 5 May 2013I am trying to do that, but I am not sure how to do that. I have it declared as such:
FileSystemWatcher checker = new FileSystemWatcher("C:/Users/Self/Downloads/path/1.ext");
And I am getting "The directory name is invalid".
- Member Title:
- New D.I.C Head
- Age Unknown
- Birthday Unknown
Enchant hasn't added any friends yet.