14 Mar
2023
14 Mar
'23
6:03 a.m.
From: Daniel Tang <danielzgtg.opensource(a)gmail.com> --- dlls/sppc/sppc.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dlls/sppc/sppc.c b/dlls/sppc/sppc.c index 452ee78cea8..36dbefbeaa3 100644 --- a/dlls/sppc/sppc.c +++ b/dlls/sppc/sppc.c @@ -58,6 +58,14 @@ HRESULT WINAPI SLOpen(HSLC *handle) *handle = (HSLC)0xdeadbeef; + /* + * Microsoft office stops crashing and just adds to the title a suffix of + * "(Non-Commercial Use) (Unlicensed Product)" if we make the thread sleep forever + */ + for (;;) { + Sleep(1000); + } + return S_OK; } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/2377