The Level Zero API uses LOAD_LIBRARY_SEARCH_SYSTEM32 and thus loads dependent DLLs from c:\windows\system32. This yields errors on systems shipped with Level Zero DLLs in system32. Building an app with ze_loader.dll from the repo (e.g. zello_world.exe) will load dependent DLLs (e.g. ze_validation_layer.dll) from system32 and not from the repo. If this behavior is due to security considerations it’s probably worth a note in the repo. Otherwise one of the less restrictive search options for DLLs might be appropriate.
The Level Zero API uses
LOAD_LIBRARY_SEARCH_SYSTEM32
and thus loads dependent DLLs fromc:\windows\system32
. This yields errors on systems shipped with Level Zero DLLs insystem32
. Building an app withze_loader.dll
from the repo (e.g.zello_world.exe
) will load dependent DLLs (e.g.ze_validation_layer.dll
) fromsystem32
and not from the repo. If this behavior is due to security considerations it’s probably worth a note in the repo. Otherwise one of the less restrictive search options for DLLs might be appropriate.