I have a problem while using MSXML2::IXMLDOMDocumentPtr save() function. I have an application which listens to a port. The application is creating different xmls while recieving requests and saves those created xml's in a folder in the "AppData". There are about 30 request and in response 30 xml's were created. The xml's are named as "Resp1.xml, Resp2.xml, Resp3.xml, etc".
But some of the time application is thrown an exception at the point of code where saving the xml.
This is not happening all the time. The exception says "The process can't access the file because it is being used up by another process".
Please help me .