[Bug 45703] Microsoft Office 365 applications crash on startup ( Microsoft AppV ISV virtual filesystem technology requires several native and core API to be hot-patchable )
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat Apr 13 13:03:22 CDT 2019
https://bugs.winehq.org/show_bug.cgi?id=45703
--- Comment #22 from Louis Lenders <xerox.xerox2000x at gmail.com> ---
(In reply to Anastasius Focht from comment #21)
> Hello folks,
>
> revisiting, still present.
> Using regular Wine build with -fPIC and -O2 for testing.
>
> One of the native API mentioned here 'ntdll.NtQueryDirectoryFile' (comment
> #9) is also frequently used in game scene releases that use custom Steam
> Client API Module (proxy). The API resolver is obfuscated hence can't be
> seen from any trace logs.
>
That seems to be it then, it starts fine for me with below patch. Nothing more
changed, also compiled with -fPIC and -O2. Nice catch, focht!.
If someone could try too and confirm too that would be nice. Only tested
WINWORD. Will test POWERPOINT an EXCEL too.
diff --git a/dlls/ntdll/directory.c b/dlls/ntdll/directory.c
index b46c2a6736..c99cf3c8a1 100644
--- a/dlls/ntdll/directory.c
+++ b/dlls/ntdll/directory.c
@@ -1933,7 +1933,7 @@ static NTSTATUS get_cached_dir_data( HANDLE handle,
struct dir_data **data_ret,
* NtQueryDirectoryFile [NTDLL.@]
* ZwQueryDirectoryFile [NTDLL.@]
*/
-NTSTATUS WINAPI NtQueryDirectoryFile( HANDLE handle, HANDLE event,
+NTSTATUS WINAPI DECLSPEC_HOTPATCH NtQueryDirectoryFile( HANDLE handle, HANDLE
event,
PIO_APC_ROUTINE apc_routine, PVOID
apc_context,
PIO_STATUS_BLOCK io,
PVOID buffer, ULONG length,
> I admit most of these instructions which involve manual copying of files are of rather
> questionable quality. Anyway, use forums. Wine Bugzilla is not meant for end
> user support.
IRC last time I installed office365 , when you use Staging the manual copying
is not needed anymore; I think this is due to Gijs` patch for CreateSymbolLink,
but i`d have to recheck to be sure.
--
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