EldoS | Feel safer!

Software components for data protection, secure storage and transfer

One more question to concurrent access

Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.
Posted: 10/18/2007 05:23:11
by Hülstede Peter (Basic support level)
Joined: 05/24/2007
Posts: 9

I have one application that keeps a storage open for writing for a long time and another that needs to read the storage. I use the following code to open the storage for reading:

SolFS.SolFSStorage Storage = new SolFS.SolFSStorage();
Storage.FileName = name;
Storage.AutoCompact = 0;
Storage.PathSeparator = '\\';
Storage.UseAccessTime = false;
Storage.ReadOnly = true;
Storage.UseTransactions = false;

As you can guess, I get a sharing violation exception.
By reading the FAQ and this forum I learned that the driver edition would solve the problem.
But then I tried to open the locked file with the SolFSExplorer you deliver as a sample (the binary, not the .Net version) and this application can open the file that is opened by another process.
I looked at the Delphi sources, but I can't figure out how it works.

Thank you in advance for any hint
Peter Hülstede
Posted: 10/18/2007 05:33:45
by Eugene Mayevski (EldoS Corp.)

Opening a file, opened by another process for writing, is a bug of SolFS Explorer, that can lead to corruption of the data in the storage.

Sincerely yours
Eugene Mayevski



Topic viewed 2449 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!