EldoS | Feel safer!

Software components for data protection, secure storage and transfer

CbFsFileInfo to fuse_file_info

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.
#19721
Posted: 04/09/2012 13:11:05
by szagriichuk  (Basic support level)
Joined: 03/28/2012
Posts: 51

Hi, Are there any posibilities to convert CbFsFileInfo to fuse_file_info FUSE structure or some documentation where I can read?
Thanks
#19722
Posted: 04/09/2012 13:28:58
by Eugene Mayevski (EldoS Corp.)

These are completely unrelated and non-mappable structures.


Sincerely yours
Eugene Mayevski
#19732
Posted: 04/10/2012 08:03:12
by szagriichuk  (Basic support level)
Joined: 03/28/2012
Posts: 51

Quote
Eugene Mayevski wrote:
These are completely unrelated and non-mappable structures.

Ok, Thanks for answer, and Could you tell me are there any structures in CbFS like fuse_file_info ?
Thanks
#19736
Posted: 04/10/2012 09:40:27
by Volodymyr Zinin (EldoS Corp.)

No, but why is it necessary for you?
#19747
Posted: 04/11/2012 03:43:42
by szagriichuk  (Basic support level)
Joined: 03/28/2012
Posts: 51

Quote
Vladimir Zinin wrote:
No, but why is it necessary for you?

I'm trying to make adapter between eldos api to fuse api, it is specific of project.
#19748
Posted: 04/11/2012 03:52:56
by Eugene Mayevski (EldoS Corp.)

We have such adapter, did you check it?


Sincerely yours
Eugene Mayevski
#19755
Posted: 04/12/2012 04:29:49
by szagriichuk  (Basic support level)
Joined: 03/28/2012
Posts: 51

Quote
Eugene Mayevski wrote:
We have such adapter, did you check it?

Nope, Could you provide me some link to it ?
Thanks
#19756
Posted: 04/12/2012 04:47:13
by Eugene Mayevski (EldoS Corp.)

It's installed on your disk, check CPP folder.


Sincerely yours
Eugene Mayevski
#19758
Posted: 04/12/2012 10:15:03
by szagriichuk  (Basic support level)
Joined: 03/28/2012
Posts: 51

Quote
Eugene Mayevski wrote:
It's installed on your disk, check CPP folder.

Thanks, I've checked the CPP fiolder and found that start of wraping starts from the next line

Code
fuse_file_info* fi = (fuse_file_info*)FileHandleContext;


For cpp it is good, and how can I to do the same from other languages like C# and java ? In Java HandleConext is array of bytes.
Thanks
#19761
Posted: 04/12/2012 10:57:26
by Vladimir Cherniga (EldoS Corp.)

You may cast FileHandleContext to fuse_file_info_wrapper, then access to the fuse_file_info. Or rewrite fuse_file_info_wrapper in to the class, then implement fuse_file_info as a class member. Use GCHandle::Alloc(), GCHandle::FromIntPtr(), GCHandle::ToIntPtr to cast pointers and class instances to each others (look at the cbfs dotNet sample code)
Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.

Reply

Statistics

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