The code is in C# and SampleVfs class it's a simple adaptation of VDisk from Samples.

After spending few hours on debugging I gave up to make it run and then in despair started it from an executable just as a method call. And vuala, it works.

It looks like the problem is in the host process. If it's a regular executable then the code works without any issues. If it was started by NUnit then everything besides vfs.Mount() works. It's possible to add mounting points, they appear in Explorer etc. But a call to vfs.Mount() hangs for like 20 sec and then returns error "CallbackFS.ECBFSError : The operation completed successfully".

Thank you for the report. I am moving your question to HelpDesk so that the developer could help you, and when the solution is available, we will post the answer here as well to let other users know about it.

In any case none of our products are compatible with NUnit due to the way NUnit is implemented - they create some half-isolated environment within the application which interferes with the mechanisms CBFS uses for driver-usermode communications.

We use cookies to help provide you with the best possible online experience. By using this site, you agree that we may store and access cookies on your device. You can find out more about and set your own preferences here.