On Windows WinFsp and its API's are acquired dynamically using LoadLibrary and GetProcAddress. How should we handle the situation when it is not installed?
The easiest thing to do from C would be to print a message on stderr and exit. @ncw would this be acceptable for rclone?
Another approach is to somehow panic from within C to give a chance to Go code to recover gracefully. It is not clear at this time how this can be accomplished.
On Windows WinFsp and its API's are acquired dynamically using
LoadLibrary
andGetProcAddress
. How should we handle the situation when it is not installed?The easiest thing to do from C would be to print a message on
stderr
andexit
. @ncw would this be acceptable for rclone?Another approach is to somehow
panic
from within C to give a chance to Go code to recover gracefully. It is not clear at this time how this can be accomplished.