Re: [Dokan] creating virtual drive with Dokan?

293 views
Skip to first unread message

Joe Burmeister

unread,
Feb 23, 2011, 7:02:11 AM2/23/11
to do...@googlegroups.com
Hi,

In a nut shell, yes, yes and yes. :-)

Joe

On 23 February 2011 11:29, Richard B <r.bla...@gmail.com> wrote:
Haven't used Dokan yet, but looks very interesting & powerful so far.

Question: can I create a virtual drive with Dokan? I mean can I create
a new drive letter, and implement whatever I want to happen when other
apps open files & folders on it? (including windows explorer itself)

That is, can I implement CreateFile, FindFirstFile / FindNextFile,
CreateDirectory, DeleteFile, etc specifically for this virtual drive?

--
You received this message because you are subscribed to the Google Groups "Dokan" group.
To post to this group, send email to do...@googlegroups.com.
To unsubscribe from this group, send email to dokan+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dokan?hl=en.


Ramesh Kumar

unread,
Feb 23, 2011, 8:34:00 AM2/23/11
to do...@googlegroups.com
yes , you can
//Ramesh
--
Thanks & Regards

 Ramesh S,

Richard B

unread,
Feb 23, 2011, 6:29:48 AM2/23/11
to Dokan

Richard B

unread,
Feb 24, 2011, 5:07:26 AM2/24/11
to Dokan
Cool, thanks! Where would I start best: Dokan library (source),
library (installer), or SSHFS?
I am an experienced developer but the difference beween these packages
is not entirely clear to me...?

I tried to download the library (source) as that seemed the most
logical starting point for my situation, but there is a SVN repository
browser instead of just a single zip file or something (I'm a little
familiar with svn but don't use it myself). Can I simply just download
the library/SDK somewhere and get going?

As for my purpose of a virtual drive, I assume I'd have to inherit
come classes and override the appropriate functions?

Thanks again!

Jurjen Katsman

unread,
Feb 24, 2011, 5:11:08 AM2/24/11
to do...@googlegroups.com
Good starting point would be to run the installer, then compile the Mirror example that comes with the installer for yourself in your own environment, and start playing around with that.

The mirror example is basically implementing a filesystem on top of the regular filesystem again.

- Jurjen

-----Oorspronkelijk bericht-----
Van: do...@googlegroups.com [mailto:do...@googlegroups.com] Namens Richard B
Verzonden: donderdag 24 februari 2011 11:07
Aan: Dokan
Onderwerp: [Dokan] Re: creating virtual drive with Dokan?

Thanks again!

--

Joe Burmeister

unread,
Feb 24, 2011, 5:17:53 AM2/24/11
to do...@googlegroups.com
Hi,

SSHFS is a system done with Dokan.
Unless you are interested in sshfs, then you just want Dokan. It has a mirror example that results in a subst like drive. It should be enough to get you started.

You can build from source if you really want to, but you will the need DDK. I think it's safe to say most of us just use the downloaded libs, only maybe building if we are debugging something we think might be Dokan itself.

If you are doing a C or C++ Dokan filesystem, you fill in a structure (DOKAN_OPERATIONS) of callbacks with your own callbacks. You pass that structure, and a options structure (DOKAN_OPTIONS, defining drive letter, etc) to DokanMain. I have never looked at the C# binding, but I'm guessing it's a class you inherit from and override and then pass in to DokanMain. Like the C version, I'm sure there is also an options structure/class too.

Hope this is enough to get you started. :-)

Joe

Smurf IV

unread,
Feb 24, 2011, 6:22:47 AM2/24/11
to do...@googlegroups.com
You could help me out and join in the codeplex development of Liquesce

Mattias Rask

unread,
Jul 14, 2015, 5:20:00 AM7/14/15
to do...@googlegroups.com
Hi Richard,

I saw a Richard in the Dokan Support Forum saying he had a Swedish translation of Dokan. Is it you?

Please contact me in case you are willing to share your translation files with me!

Best regards,
Mattias Rask

Alejandro Exojo

unread,
Jul 15, 2015, 2:21:42 AM7/15/15
to do...@googlegroups.com
On 14 July 2015 at 11:20, Mattias Rask <mattia...@gmail.com> wrote:
> I saw a Richard in the Dokan Support Forum saying he had a Swedish
> translation of Dokan. Is it you?
>
> Please contact me in case you are willing to share your translation files
> with me!


Just two quick things:

1. You are replying to a message that seems to be more than four years old. ;-)

2. What translations? Besides developer documentation, and some
console messages or errors, I can't think what translations you are
interested in.

Regards.
Reply all
Reply to author
Forward
0 new messages