EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Error on CreateStorage (CBFS RC2)

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
#10783
Posted: 08/11/2009 09:45:02
by Vladimir Cherniga (EldoS Corp.)

Could you look with debugger a hex value assigned to f->StorageCharacteristics ?
#10789
Posted: 08/12/2009 03:41:23
by WKP  (Standard support level)
Joined: 08/10/2009
Posts: 7

Quote
Could you look with debugger a hex value assigned to f->StorageCharacteristics ?


Before
Code
f->StorageCharacteristics = TCbFsStorageCharacteristics();

it is:
f->StorageCharacteristics: { "\x10" : 0x4 /* Cbfs::scRemovableMedia */ }
and after:
f->StorageCharacteristics: { "\0" }
#10790
Posted: 08/12/2009 12:52:10
by Vladimir Cherniga (EldoS Corp.)

The fix for this bug will be avalable in the nearest build. Thanks for the report.
#10791
Posted: 08/13/2009 05:48:52
by WKP  (Standard support level)
Joined: 08/10/2009
Posts: 7

Thanks for fix the bug. I downloaded the latest version of CBFS, uninstalled old driver and installed the new one.

Unfortunately now I have another bug...

Code
FCbFs->UseSystemCache = true;
FCbFs->CreateStorage();
FCbFs->MountMedia(0);
FCbFs->AddMountingPoint(WideString("X:"));


FCbFs->AddMountingPoint(WideString("X:")) throws an exception:

EAccessViolation with message: 'Access violation at address 7C83112B in module kernel32.dll Write of address FFFFFFFF'

I try also AddMountingPointEx, but I get the same result.
#10792
Posted: 08/13/2009 09:14:14
by Vladimir Cherniga (EldoS Corp.)

You must implement all mandatory callbacks before MountMedia() could be invoked.
Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.

Reply

Statistics

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