The information in this article applies to:
SYMPTOMSWin32 applications on two different Windows 95 machines open a remote file for reading and writing. One writes data to the file, but the other does not see the newly-written data. CAUSEThe Microsoft Client for Microsoft Networks and the Microsoft Client for NetWare Networks included with Windows 95 cache both reads and writes to remote files unless the files are locked. Since a Windows 95 client machine may contain cached data that has not been synchronized with the server, applications running on the client may not see the file as it actually exists on the server. STATUSThis behavior is by design in Windows 95. The reason for this behavior is to reduce network traffic, thereby improving network performance. MORE INFORMATION
Win32 applications that run on Windows 95 and share remote files with
clients on other machines must lock the regions they read or write. When a
Win32 application locks the file it is accessing, the Windows 95 network
client does not cache reads or writes to the locked region. Thus, the Win32
application will see the contents of the file as it exists on the server,
and will write new data directly to the file on the server.
Additional query words: network remote client locking exclusive win95
Keywords : kbprg kbAPI kbKernBase kbGrpKernBase |
Last Reviewed: January 14, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |