EldoS | Feel safer!

Software components for data protection, secure storage and transfer

PnP Disk on 64 bit OS

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
#17642
Posted: 09/24/2011 18:11:04
by FS DEV (Basic support level)
Joined: 09/24/2011
Posts: 13

Hi,

I have been playing with the trial version of CBFS.
I also have the latest version installed.

When my application sets the disk to be PnP, it works on 32 bit OSes but fails on 64 bit OSes.

Code
g_CbFs->SetStorageType(CallbackFileSystem::stDiskPnP);


Calling MountMedia fails with error code 87 (The parameter is incorrect).
If I set the disk to basic disk, everything works fine.

Can anyone help me out with this issue?

Thanks.
#17643
Posted: 09/25/2011 00:30:56
by Eugene Mayevski (EldoS Corp.)

Are other disk types created correctly on 64-bit OS? I.e. is the problem specific to PnP drive type?


Sincerely yours
Eugene Mayevski
#17644
Posted: 09/25/2011 00:39:15
by FS DEV (Basic support level)
Joined: 09/24/2011
Posts: 13

Quote
Eugene Mayevski wrote:
Are other disk types created correctly on 64-bit OS? I.e. is the problem specific to PnP drive type?


Not sure about all other types, but the default disk type is created just fine.
#17645
Posted: 09/25/2011 01:00:11
by Eugene Mayevski (EldoS Corp.)

Thank you, we will check the problem tomorrow. Meanwhile you can continue with Network drive type - Explorer works more effectively with it (requests less information) and most our customers end up using this type.


Sincerely yours
Eugene Mayevski
#17646
Posted: 09/25/2011 01:03:23
by Eugene Mayevski (EldoS Corp.)

BTW please try modifying one of our samples and see if it works for you on 64-bit system. It can turn out that something in your code (some event not being handled right) causes the problem.


Sincerely yours
Eugene Mayevski
#17647
Posted: 09/25/2011 09:54:34
by FS DEV (Basic support level)
Joined: 09/24/2011
Posts: 13

Quote
Eugene Mayevski wrote:
BTW please try modifying one of our samples and see if it works for you on 64-bit system. It can turn out that something in your code (some event not being handled right) causes the problem.


Thanks Eugene.

I changed the Mapper sample to use PnP and it produces the same issue.
As soon as I click "Mount", I get a pop-up that says "The parameter is incorrect".

I have a particular need whereas the drive needs to be as PnP device.
Again, everything works a designed on 32 bit OSes with the disk is PnP or other.
Only 64 bit OSes have the issue.
Last, the application is a 32 bit application and run as 32 bit even on 64 bit OSes.
#17649
Posted: 09/25/2011 13:06:57
by Volodymyr Zinin (EldoS Corp.)

I couldn't reproduce the problem. Please give us your Mapper sample binary. Also please specify versions of Windows and CallbackFS you are using.
Thanks.
#17650
Posted: 09/25/2011 13:22:36
by FS DEV (Basic support level)
Joined: 09/24/2011
Posts: 13

The OS is Windows Home Server 2011.
Attached is my version of Mapper.

Also, another major issue is that the drive always shows up as removable even though it was not specified to be so.


[ Download ]
#17651
Posted: 09/26/2011 03:17:54
by Volodymyr Zinin (EldoS Corp.)

Yes, the problem exists on Windows Home Server 2011. It will be fixed in the latest build which will be done in about a week.

Quote
FS DEV wrote:
Also, another major issue is that the drive always shows up as removable even though it was not specified to be so.

Have you tried not to specify the scRemovableMedia storage characteristic?
#17657
Posted: 09/26/2011 07:40:24
by FS DEV (Basic support level)
Joined: 09/24/2011
Posts: 13

Quote
Vladimir Zinin wrote:
Yes, the problem exists on Windows Home Server 2011. It will be fixed in the latest build which will be done in about a week.

Great thanks.
Eagerly waiting for the fix.

Quote
Vladimir Zinin wrote:
Quote
FS DEV wrote:
Also, another major issue is that the drive always shows up as removable even though it was not specified to be so.

Have you tried not to specify the scRemovableMedia storage characteristic?

Certainly.
I commented out anything that had to do with setting the drive to removable.
For the Mapper, the code never set it to be removable, but it still showed up as removable.

Thanks.
Also by EldoS: SecureBlackbox
200+ components and classes for digital security, signing, encryption and secure networking.

Reply

Statistics

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