Would it make sense to link the official wintun.dll with the MSVC linker's -DEPENDENTLOADFLAG:0x800 option?

https://docs.microsoft.com/en-us/cpp/build/reference/dependentloadflag

Doing so restricts the search path for immediate dependencies to the %windows%\system32\ directory, and I think all of the DLLs Wintun needs are there.

--
Brad Spencer

Reply via email to