diff options
| author | Gangzheng Tong <tonggangzheng@gmail.com> | 2025-09-19 14:53:03 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-19 21:53:03 +0000 |
| commit | c8d189bd500fce3d6716a79cdb204a94b36a84b5 (patch) | |
| tree | 5279ff507f5273b50e4992a928423bf5235a746f /source/core/slang-std-writers.h | |
| parent | c6d8c6b6890341ac9a849e0f5a96e686731c4e78 (diff) | |
Use LOAD_LIBRARY_SEARCH_DEFAULT_DIRS for LoadLibraryExW (#8491)
Before:
- Uses `LOAD_LIBRARY_SEARCH_USER_DIRS` in `LoadLibraryExW`, which might
cause exception if there is no pathes added by `AddDllDirectory()`
After:
- Use the composite flag `LOAD_LIBRARY_SEARCH_DEFAULT_DIRS`, which
searches for several locations.
- Will still search dir added by `AddDllDirectory()`, but avoids empty
path seraching if there is no AddDllDirectory() calls.
Related to https://github.com/shader-slang/slang/issues/8462
---------
Co-authored-by: slangbot <ellieh+slangbot@nvidia.com>
Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Diffstat (limited to 'source/core/slang-std-writers.h')
0 files changed, 0 insertions, 0 deletions
