fputs

C++ fputs Assert on Windows 2008 Server

In the below code the fputs(...) throws an assert when running on Windows Server 2008. I don't have this problem on a Vista or XP machine. I'm at a loss as to what is causing it? The assert is: Stream != NULL It seems to be random too, as sometimes it seems to succeed... as the log files get created. Can anybody help? void DLog::L...