http://bugs.winehq.org/show_bug.cgi?id=58255
Bug ID: 58255 Summary: I am Using Wine Staging Trying to run a program Called Player2 Which allows to play minecraft with AI Product: Wine Version: 10.8 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: salikovjr@gmail.com Distribution: ---
Created attachment 78598 --> http://bugs.winehq.org/attachment.cgi?id=78598 here is the backtrace
something broke idk
http://bugs.winehq.org/show_bug.cgi?id=58255
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|I am Using Wine Staging |Player2 crashes |Trying to run a program | |Called Player2 Which allows | |to play minecraft with AI | Severity|blocker |normal URL| |https://player2.game/
http://bugs.winehq.org/show_bug.cgi?id=58255
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |xerox.xerox2000x@gmail.com
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- Confirming though I get a different backtrace. For me it crashes into two unimplemented functions user32.SetProcessLaunchForegroundPolicy and pdh.PdhEnumObjectsA.
The first one seems to be undocumented, and seems to be called from msedgewebview2 The first parameter seems to be the process id as it always corresponds to the pid of msedgeweview2 that you can find by running tasklist in a separate window. The second parameter might be some flag?, it's always '4'
The attached patch makes the program start for me though sometimes I get a crash in ole32 (RevokeDragDrop). I'll send patches for the stubs later.
Note, i cannot add an attachment, pasting stubs below diff --git a/dlls/pdh/pdh.spec b/dlls/pdh/pdh.spec index 3d51f6257ef..778fb4f0b32 100644 --- a/dlls/pdh/pdh.spec +++ b/dlls/pdh/pdh.spec @@ -32,7 +32,7 @@ @ stub PdhEnumObjectItemsHA @ stub PdhEnumObjectItemsHW @ stdcall PdhEnumObjectItemsW(wstr wstr wstr ptr ptr ptr ptr long long) -@ stub PdhEnumObjectsA +@ stdcall PdhEnumObjectsA(ptr ptr ptr ptr ptr ptr) @ stub PdhEnumObjectsHA @ stub PdhEnumObjectsHW @ stub PdhEnumObjectsW diff --git a/dlls/pdh/pdh_main.c b/dlls/pdh/pdh_main.c index dec86a9962b..11c36e5bd33 100644 +++ b/dlls/user32/misc.c @@ -543,3 +543,7 @@ LRESULT WINAPI ImeWndProcW( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam ) if (!imm_ime_wnd_proc) return DefWindowProcW(hwnd, msg, wParam, lParam); return imm_ime_wnd_proc( hwnd, msg, wParam, lParam, FALSE ); } + +BOOL WINAPI SetProcessLaunchForegroundPolicy(DWORD id, DWORD a1) +{FIXME("(%lu %lu): stub\n", id, a1); + return 0;} diff --git a/dlls/user32/user32.spec b/dlls/user32/user32.spec index 081e4c38373..494c8b7a983 100644 --- a/dlls/user32/user32.spec +++ b/dlls/user32/user32.spec @@ -1074,7 +1074,7 @@ @ stdcall SetProcessDefaultLayout(long) NtUserSetProcessDefaultLayout @ stdcall SetProcessDpiAwarenessContext(long) @ stdcall SetProcessDpiAwarenessInternal(long) -# @ stub SetProcessLaunchForegroundPolicy +@ stdcall SetProcessLaunchForegroundPolicy(long long) # @ stub SetProcessRestrictionExemption @ stdcall SetProcessWindowStation(long) NtUserSetProcessWindowStation @ stdcall SetProgmanWindow(long) NtUserSetProgmanWindow ~