Open GoogleCodeExporter opened 9 years ago
Done a little more investigation...
b)
looks like I've misunderstood the .net-interface, as DeleteDirectory apparently
_shouldn't_ delete anything. I interpreted the function as force-delete
directory, empty or not.
The directory is now deleted with the Close-function as I guess was intended
(Documentation really needs a brush-up at some time :-) ).
We do however miss a "DokanNet.ERROR_DIRECTORY_IS_NOT_EMPTY" ( I now return
-145, which is the Windows error code. )
a) still gives headaches - I do think it's a minor bug in the .NET binding.
These are the calls made to my dokan-implementation:
CreateFile <dirname> (Open)
GetFileInformation <dirname>
GetFileInformation <dirname>
GetFileInformation <dirname>
CloseFile <dirname>
OpenDirectory <dirname>
FindFiles <dirname>
CloseFile <dirname>
FindFiles returns an empty array, which I guess is the cause of the error...
Keep up the extremely good work! Dokan rulez!
Original comment by tokeboy.riis
on 31 Jul 2010 at 12:01
Bug finally found for a);
FindFiles should not return an empty array. It should return parent ("..") and
self ("."). That wasn't obvious!
Original comment by tokeboy.riis
on 5 Dec 2010 at 2:38
Original issue reported on code.google.com by
tokeboy.riis
on 30 Jul 2010 at 9:16