[Bug 51998] Unable to start CloneCD

WineHQ Bugzilla wine-bugs at winehq.org
Wed Dec 8 04:36:40 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=51998

Bernhard Übelacker <bernhardu at mailbox.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernhardu at mailbox.org

--- Comment #3 from Bernhard Übelacker <bernhardu at 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/53ffeb67eeee09a53c07ca3ec82db3cad9339359
Author: Alexandre Julliard <julliard at 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.


More information about the wine-bugs mailing list