[Bug 47668] Logos 8 (.NET/WPF 4.7.2 application) fails to download resources (needs ReOpenFile implemantation)
WineHQ Bugzilla
wine-bugs at winehq.org
Tue Oct 1 16:18:54 CDT 2019
https://bugs.winehq.org/show_bug.cgi?id=47668
--- Comment #39 from Don Pobanz <dpobanz at gmail.com> ---
I tried to manually apply the patch with the newest wine from git today
(wine-4.17-44-gceabad19b8) but it doesn't appear to help.
I am modifying dlls/kernelbase/file.c and adding the following line at line 46:
extern DWORD WINAPI GetFinalPathNameByHandleW( HANDLE ,LPWSTR ,DWORD , DWORD);
I then jump down to line 1825 and remove the line
return INVALID_HANDLE_VALUE;
and add in its place these lines:
WCHAR name[MAX_PATH];
DWORD size = MAX_PATH;
HANDLE h;
DWORD ret;
ret = 0;
ret = GetFinalPathNameByHandleW( handle, name, size, VOLUME_NAME_DOS );
if(ret)
FIXME("\n name is: %s\n", debugstr_w(name));
else
return INVALID_HANDLE_VALUE;
h = CreateFileW(name, access, sharing, NULL, OPEN_EXISTING, flags, NULL);
return h;
When compiling I get a warning but it appears to compiles:
file.c:1827:5: warning: ISO C90 forbids mixed declarations and code
[-Wdeclaration-after-statement]
WCHAR name[MAX_PATH];
^~~~~
The Logos8.msi installs fine
When I try and run it
cd ~/.wine/drive_c/users/don
wine
wine 4.17.44
--
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