fengye110 / dokan

Automatically exported from code.google.com/p/dokan
0 stars 0 forks source link

Cannot mount sshfs drive #77

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
> What steps will reproduce the problem?
1. Download dokan-0.4.2.1238 x86 2008/12/31, dokan-sshfs-0.2.0.1226
2008/12/11, Microsoft Visual C++ 2005 SP1 Redistributable Package
2. Install
3. Run DokanSSHFS.exe and try to mount a drive

> What is the expected output? What do you see instead?

I expect new drive mounted. I am getting 2 small dialog boxes:
1. "sshfs start" with "info" in caption 0 that is ok
2. "Dokan drive letter assign error" with "Error" in caption - that's WRONG.

> What version of the product are you using? On what operating system?

Product - see above. WindowsXP sp2.

Original issue reported on code.google.com by aik...@gmail.com on 17 Mar 2009 at 12:08

GoogleCodeExporter commented 9 years ago
I think this is due to the following code in DokanMain, dokan.c (line 162):

} else if (!IsValidDriveLetter((WCHAR)DokanOptions->Version)) {
...

I think this should be:

} else if (!IsValidDriveLetter((WCHAR)DokanOptions->MountPoint[0])) {
...

as it is on line 96.

I cannot build dokan's c library because it requires the Windows DDK, but I 
hope maybe this fix (if it is needed) can be incorporated into the next release.

Thanks!

Original comment by mcmichae...@gmail.com on 26 Jul 2010 at 8:41