EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Eject disk via Explorer

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
#20137
Posted: 05/14/2012 10:36:18
by szagriichuk  (Basic support level)
Joined: 03/28/2012
Posts: 51

Hi, I'm trying to eject disk using explorer eject menu, but all times receive error like "
Quote
Error occurred while ejecting"Name of Disk"
. And
Code
onStorageEjected
method does not receive any events.
Could you help me to fix this problem ?
Thanks.
#20138
Posted: 05/14/2012 10:50:34
by Eugene Mayevski (EldoS Corp.)

Only PnP storages can be ejected. Do you set storage type to stDiskPnP before creating it? Also drivers must be installed in PnP mode enabled.


Sincerely yours
Eugene Mayevski
#20139
Posted: 05/14/2012 10:58:21
by szagriichuk  (Basic support level)
Joined: 03/28/2012
Posts: 51

During call method
Code
install
I've set uped 3 parameter to true, it is pnp support(judjing to documentation)
#20140
Posted: 05/14/2012 11:13:41
by Eugene Mayevski (EldoS Corp.)

And what about storage type?


Sincerely yours
Eugene Mayevski
#20146
Posted: 05/15/2012 00:38:08
by Volodymyr Zinin (EldoS Corp.)

Perhaps some program holds files to be opened on the storage. I will check it. Please specify version of Windows and whether the problem is reproducible with the Mapper sample.
#20149
Posted: 05/15/2012 04:59:24
by szagriichuk  (Basic support level)
Joined: 03/28/2012
Posts: 51

Storage type is
Code
callbackFileSystem.setStorageType(CallbackFileSystem.CbFsStorageType.stDiskPnP);


Windows 7 Sp1 x64 Enterprise, and yes, I've tested Mapper .NET (C#) and Java VDisk behavior the same.
#20161
Posted: 05/16/2012 03:39:34
by Volodymyr Zinin (EldoS Corp.)

I've checked it with the Mapper sample and the ejection works. The most possible reason, as I wrote above, is that some third-party component holds a file opened. Is the problem reproducible with an empty storage? I.e. run Mapper without debugging, create a storage where there is no any files and directories, and immediately eject it. And use the latest CallbackFS build with it.
If it doesn't work please give me your .NET mapper sample sources.
Thanks.
#20165
Posted: 05/16/2012 06:41:41
by szagriichuk  (Basic support level)
Joined: 03/28/2012
Posts: 51

How can I send you project if I can attach here just (
Quote
JPG, PNG, GIF and TXT files only, max.size 256 Kb)
, re -check behavior, the same.
#20167
Posted: 05/16/2012 07:11:04
by Eugene Mayevski (EldoS Corp.)

Unfortunately forum engine doesn't support binary attachments correctly.

Please create a ticket in HelpDesk and attach the project there.


Sincerely yours
Eugene Mayevski
#20170
Posted: 05/16/2012 10:41:28
by szagriichuk  (Basic support level)
Joined: 03/28/2012
Posts: 51

Thank you, I've posted to HelpDesk new item.
Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.

Reply

Statistics

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