Open RO.FST with READ/WRITE instead of just READ
This commit is contained in:
1 parent
9b881f551e
commit
cd3d3f15eb
2 files changed
+4
-4
No files matched your search
@@ -65,7 +65,7 @@ namespace VEPROMS.CSLA.Library
|
||||
ROFstInfoList fstList = ROFstInfoList.GetBySize(rdi.RODbID, (int)fiRofst.Length);
|
||||
if (fstList.Count > 0)
|
||||
{
|
||||
FileStream fsIn = new FileStream(rofstPath, FileMode.Open, FileAccess.Read, FileShare.Read);
|
||||
FileStream fsIn = new FileStream(rofstPath, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
|
||||
// Create an instance of StreamReader that can read characters from the FileStream.
|
||||
BinaryReader r = new BinaryReader(fsIn);
|
||||
byte[] ab = r.ReadBytes((int)fsIn.Length);
|
||||
|
||||
Reference in new issue
Block a user