EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Callbackfilesystem - clean up after crash

Also by EldoS Corporation: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.
#3125
Created: 06/12/2007 09:38:46
by Keith Giddings (Basic support level)
Registration date: 05/18/2007
Total messages: 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?

Regards
Keith
#3127
Created: 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
#3310
Created: 07/06/2007 22:10:38
by Anil Cakir (Basic support level)
Registration date: 06/28/2007
Total messages: 1

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

Thank you.
#3313
Created: 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

Reply

Statistics

Topic viewed 2614 times

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




|

Back to top