openFile is locking file access
I am using openFile and filestreams to successfully modify XML files.
However, I cannot get Max to release control of these files on a system level once they have been modified without closing max.
Not a huge deal, but if i would like to edit any of these recently modified XML files in a text editor, I have to close Max.
I flush and close the filestream when my script is through.
Some of the openFile modes are vague to me ("S", "R", "T", "D", "c" and "n"), I wonder if that's my problem.