Closed glopesdev closed 10 months ago
Actually, SafeDirectories
is already a flag combination of System32
and UserDirectories
so this PR would not resolve the linked issue. Instead, the host application needs to call AddDllDirectory
to specify the process wide DLL search path.
This PR adds process-wide search paths to the set of included default import search paths. This is considered part of the safe values for
DllImportSearchPath
as per CA5393.Fixes #2019