in reply to Re^5: Perl to mount a virtual filesystem on Windows?
in thread Perl to mount a virtual filesystem on Windows?

Confusion in DLL loading

As you understand now, Dokan library must be installed first. It provides

and some files.

See dokan-readme for detailes.

Win32::Dokan's Dokan.DLL is just an interface between dokan.dll (Dokan Library's one) and Perl.

Win32::Dokan's Dokan.DLL will be found by DynaLoader, so you does not need to copy it manually. It will be copied to default place (C:\strawberry\perl\site\lib\...) by executing "dmake install". I think this is an usual way for XS module.

Win32::Dokan::_DLL searches Dokan Library's dokan.dll, not a Win32::Dokan's. If Dokan library is installed correctly, It will be found in System Folder.

Test is improved

(But this is little danger. If Win32::Dokan does not works correctly, test filesystem will be not unmounted. Any idea?)

Thanks to your advice.

  • Comment on Re^6: Perl to mount a virtual filesystem on Windows?