I'm using Microsoft's enterprise library logging to log to a rolling flat file listener in my C++ dll. (IDE - VS2005)
I'm having an issue that new files keep getting generated, with the GUID appended to the beginning of the file name.
I've been googling this issue, and the solution seems to be to call logwriter.Dispose().
For some reason, when I try to add that in (writer->Dispose(); writer is the name of my logwriter), I get error c2039 - Dispose is not a member of Microsoft::Practices::EnterpriseLibrary::Logging::LogWriter. The strange thing is, it is showing up in intellisense, and it's there in the object browser.
Any ideas?? Or another solution to the new-files issue??
TIA