Skip to content

Cant Enable Only one OPEN Stream on a file #319

Answered by Liryna
MagaKhachatryan asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @MagaKhachatryan ,

This is a very hard requirement to achieve to only have one stream open on one file at a time.
It is not only word that will try to access the word file but any application on the system which no one has control one.

Depending on the reason why having the lock in Create, I would suggest reducing the locking scope to only where you need it (like write and read if it is to protect data).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MagaKhachatryan
Comment options

Answer selected by Liryna
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #317 on November 22, 2022 15:23.