Allowing reading from a log file while it is being open for writing.

39 views
Skip to first unread message

israel sadeh

unread,
May 22, 2012, 11:28:41 AM5/22/12
to lo...@googlegroups.com
Hi,
 
I would like to be able to read the partial log file while it is still open for writing by the logging application.
To do replaced the fopen() commands (for WINDOWS) with :  m_pFile = _fsopen(m_pFileName, "ab" , _SH_DENYWR); (or _wfsopen for UNICODE).
Could you add this  change to the libraries code so I'll be able to use the 'original' source?
 
Thanks,
Israel
Reply all
Reply to author
Forward
0 new messages