Locking files so they may not be written to while a program is running
Hello,
One of my programs requires that the config file stay read only while the program is running.
I am curious about the ways to go about it. I'd prefer not to open mutiple handles if all possible.
TinyXML doesn't lock files while in use. So if a file is deleted while in use by TinyXML, it kills the app.
Yes, I found that after rewording my search in Google. Thanks :)
Rating++ for helping anyway :)
Rating++ for helping anyway :)
Heh, no problem. I remembered it on the back of my mind from when I was using the low-level libraries for something and I had to figure out the name of the function I'd used. Happy coding. [smile]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement