I have two programs that run at the same time. One creates an XML file of a
dataset, the other reads the file. They don't appear to be doing it at the
same time. Every once in a while, the XML file appears to get corrupt and
needs to be recreated. (The one reading gets a message about the root not
being valid.) I've tried putting a mutex in so that I know the file is only
in use by one and that didn't seem to work. I've tried having the writer
create a file under a different name, write the file and then rename it.
Still a problem.
The file isn't terribly big (only about 5 records with 4 fields each) and
I'm getting to the point that I may end up writing the stuff to the registry
because I know that that works.
Has anybody seen anything like this before? I must be missing something.....
TIA - Jeff.