EldoS | Feel safer!

Software components for data protection, secure storage and transfer

dismount crash while a file in drive X:/ is still open

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: 02/14/2008 20:35:46
by xiaoqing lu (Basic support level)
Joined: 02/13/2008
Posts: 19

When I try to dismount X:/ while a file in drive X:/ is still open, dismount meet exception. And X: is deleted from the mounting point list, I can not dismount it now.
Posted: 02/14/2008 23:14:57
by Eugene Mayevski (EldoS Corp.)

Please provide more meaningful information.
Specify the exact version and build number of SolFS Driver Edition, the exact exception type and error message.

Sincerely yours
Eugene Mayevski
Posted: 02/17/2008 22:05:26
by xiaoqing lu (Basic support level)
Joined: 02/13/2008
Posts: 19

Sorry for late responce.
I'm using visual C++ 8.0 to build the sample codes from SolFS Driver Edition 1.5.
The exception is:
Unhandled exception at 0x7c812a5b in SimpleMounter.exe: Microsoft C++ exception: ESolFSError at memory location 0x0012f498..

X: is not dismounted and I can still use it.
Posted: 02/17/2008 23:43:41
by Eugene Mayevski (EldoS Corp.)

As I understand it, the error is reported because some files are open.

Wrap the call to unmounting methods with try/catch and see the error code in the exception that you catch.

Sincerely yours
Eugene Mayevski
Posted: 02/18/2008 04:22:50
by xiaoqing lu (Basic support level)
Joined: 02/13/2008
Posts: 19

Hello Eugene,
Actually, I do need unmout while some files are still open by some applications.For example, one of my application is monitoring whether my computer is hacked, if so, it should close the SolFS disk immediately, so the hacker can not read the data in it. Any solution for it? Thanks.
Posted: 02/18/2008 05:12:10
by Volodymyr Zinin (EldoS Corp.)


You can set the 'Force' parameter for the SolFSStorage.Close method to true.
Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.



Topic viewed 3237 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!