How often can I call CFile::Flush(), or how often should I?
I have a program that saves data using a CFile object. I call Write() followed by Flush() every time data is available to be saved. My question is, how often should I be calling Flush()? My program can call the Write() function up to 100 times a second. Is it ok to call Flush() 100 times a second? Will this cause any problems? My program is hanging and I'm looking for likely places where the performance could be problematic.