PRB: Compound File Sharing Problems on Novell Netware

ID: Q131050


The information in this article applies to:
  • Microsoft OLE Libraries for Windows and Win32s, version 2.03

NOTE: Novell Netware is manufactured by a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability.

SYMPTOMS

STGM_SHARE_DENY_WRITE is ineffective when opening compound files on a network drive when the computer is running Novell Netware version 4.1 or earlier.

For example with the following code, the open will succeed the first time as expected, but it will also succeed in subsequent openings, which should not happen because of STGM_SHARE_DENY_WRITE.


   hr = StgOpenStorage(szFileName, NULL, STGM_TRANSACTED | STGM_READWRITE |
                STGM_SHARE_DENY_WRITE, NULL, 0, &lpStg); 


CAUSE

This problem is caused by incorrect range locking done by Novell Netware.


RESOLUTION

This problem doesn't occur if the computer is running the Microsoft Network.

Additional query words:

Keywords : kb3rdparty kbnetwork kbAPI kbPersistSt kbSDKPlatform kbNovell kbGrpCom kbDSupport kbprb kbOLE203 kbGrpNet
Version : WINDOWS:2.03
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: October 26, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.