https://bugs.winehq.org/show_bug.cgi?id=51998 Bernhard Übelacker <bernhardu(a)mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu(a)mailbox.org --- Comment #3 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- Created attachment 71241 --> https://bugs.winehq.org/attachment.cgi?id=71241 debugging.txt The installer stores an relative path in the registry: "ImagePath"="System32\\Drivers\\ElbyCDIO.sys" Then IoCreateDriver finally calls LoadLibraryExW with the flag LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR, which makes get_dll_load_path_search_flags return STATUS_INVALID_PARAMETER. The flags got changed in recent commit: https://source.winehq.org/git/wine.git/commitdiff/53ffeb67eeee09a53c07ca3ec8... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Mar 29 16:00:29 2021 +0200 winedevice: Add the drivers directory to the dll search path. Have not checked if it works with a wine version before this commit. But reverting the flags given to LoadLibraryExW to LOAD_WITH_ALTERED_SEARCH_PATH would make the driver loading succeed. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.