EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Callbackfilesystem - clean up after crash

Also by EldoS Corporation: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
Posted: 06/12/2007 09:38:46
by Keith Giddings (Basic support level)
Joined: 05/18/2007
Posts: 8

While developing a callback filesystem, you invariably end up doing something that leaves the callback exe unstable and need to kill it - especially in the delphi ide. Is there anyway to force the driver to remove all mount points that it knows about (from a previous session) to save having to reboot the machine?

Posted: 06/12/2007 10:09:54
by Eugene Mayevski (EldoS Corp.)

Yes, you can call MountMedia if the drive letter still exists (i.e. if the device was not deleted by the driver).

It's probably a better idea to set DestroyStorageOnProcessTerminated property to true. Note, that documentation specifies incorrect (old) name of the property.
DestroyStorageOnProcessTerminated is the correct one.

Sincerely yours
Eugene Mayevski
Posted: 07/06/2007 22:10:38
by Anil Cakir (Basic support level)
Joined: 06/28/2007
Posts: 1

Where is the DestroyStorageOnProcessTerminated property set? I do not see it in the CBDiskNet namespace.

Thank you.
Posted: 07/07/2007 01:54:36
by Eugene Mayevski (EldoS Corp.)

This property has been removed from the latest builds of all driver products -- now it's value is internally set to be always true.

Sincerely yours
Eugene Mayevski



Topic viewed 3337 times

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


Back to top