Closed Lucasq11 closed 1 year ago
Hi @Lucasq11
Those dlls are debug visual studio runtime libraries. See https://stackoverflow.com/questions/25383833/install-vc-debug-runtime-distributable
@Liryna Thanks, It didn't came up with dll missing warning again. But it seems my release version dokanfuse is not working at all, the directory I created in my file system is treated as a file and files can not be writen. When I removed the dokanfuse1.dll and run the generator again, the file system can still create directoried and files, and they are all treated as files and not writable.
Let me discribe the background in detail: My file system generator is using the dokanfuse1.dll built by a former colleague, however I don't know how he compiled it. I'm tring to modify some code of dokanfuse and make a new version of dokanfuse1.dll. The default version created by the former colleague is 551 kb, mybe is release version. But my dokanfuse.dll is only 80 kb in release version The following is my processes step by step building dokanfuse:
My guess would be they statically linked the Visual Studio runtime in the library. If it is not that, they must have made other changes which it will be complicated for me to know. https://stackoverflow.com/questions/37398/how-do-i-make-a-fully-statically-linked-exe-with-visual-studio-express-2005
I've tried the method in that post and get a dokanfuse1.dll of 554 kb. I thnink its very closer but still doesn't work.
the directory I created in my file system is treated as a file and files can not be writen. When I removed the dokanfuse1.dll and run the generator again, the file system can still create directoried and files, and they are all treated as files and not writable.
If it works without the dokanfuse1.dll
, it means you are not using a FUSE filesystem but the standard dokan API like
https://github.com/dokan-dev/dokany/blob/master/samples/dokan_mirror/mirror.c
The problem of whether it is a directory or a file comes for your filesystem implementation not setting the right values I would say. Or maybe the version of Dokany you are using was changed and in this case I cannot help.
Environment
Check List
Description
I have built the repo /dokan_fuse /dokan using VS2022 and get dokanfuse1.dll dokan1.dll
My program implimented the struct fuse_operations and tries to use those 2 dll above in order to create a file system on windows. When the program runs, windows tells me 4 dll are missing:
Msvcp140D.dll VCRUNTIME140D.dll VCRUNTIME140_1D.dll ucrtbased.dll
and can't continue to run code.
Did I missied something when build dokanfuse and dokan? Or I should include somthing when building dokanfuse?