From: poy <po...@12...> - 2007-12-15 17:13:27
|
makes SharedFile inherit from OutputStream instead of both InputStream and OutputStream; removes the need to have a read() function which was updating the written bytes value... also, what about calling ::CreateFile() with FILE_SHARE_WRITE in the File constructor, so that Windows handles multiple writers by itself? poy |