[Bug 47668] Logos 8 (.NET/WPF 4.7.2 application) fails to download resources

WineHQ Bugzilla wine-bugs at winehq.org
Fri Sep 13 16:02:19 CDT 2019


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

Louis Lenders <xerox.xerox2000x at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #11 from Louis Lenders <xerox.xerox2000x at gmail.com> ---
>I think it may be the newer
> git version of wine OR I have something else wrong.

Hi Rik, I don`t have access to my ubuntu machine atm, but the compile error is
because current git is indeed too different from the git i generated the (poor)
patch against. The "implementation" of ReOpenFile has moved to
wine/dlls/kernelbase/file.c apparently. I could generate new patch next week.
But you could also try copy /paste it (below) into wine/dlls/kernelbase/file.c
(look for ReOpenFile and replace) 

/***********************************************************************
 *             ReOpenFile (KERNEL32.@)
 */
HANDLE WINAPI ReOpenFile(HANDLE handle_original, DWORD access, DWORD sharing,
DWORD flags)
{
    FIXME("(%p, %d, %d, %d): stub\n", handle_original, access, sharing, flags);

    WCHAR name[MAX_PATH];
    DWORD size = MAX_PATH;

    DWORD  ret;

    ret = 0;
    ret = GetFinalPathNameByHandleW( handle_original, name, size,
VOLUME_NAME_NT );
    if(ret)

        FIXME("\n name is: %s\n", debugstr_w(name));


    HANDLE h = CreateFileW(name, access, sharing, NULL, CREATE_ALWAYS, flags,
NULL);
    return h;
}

-- 
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