[Wintun] DEPENDENTLOADFLAG for wintun.dll?

Brad Spencer bspencer at blackberry.com
Wed Feb 10 14:02:14 UTC 2021


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



More information about the WireGuard mailing list