level-zero icon indicating copy to clipboard operation
level-zero copied to clipboard

Conflict with DLLs already in system32

Open otabuzzman opened this issue 1 year ago • 0 comments

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.

otabuzzman avatar Mar 20 '24 18:03 otabuzzman