Delay load SetCurrentProcessExplicitAppUserModelID

Appears to be the only thing preventing 86Box from running on Vista.
Note that this doesn't mean a change in the official system requirements.
This commit is contained in:
David Hrdlička
2022-01-08 21:43:04 +01:00
parent 750f00d0dc
commit 65310e0141
2 changed files with 12 additions and 3 deletions

View File

@@ -450,9 +450,6 @@ WinMain(HINSTANCE hInst, HINSTANCE hPrev, LPSTR lpszArg, int nCmdShow)
{
char **argv = NULL;
int argc, i;
wchar_t * AppID = L"86Box.86Box\0";
SetCurrentProcessExplicitAppUserModelID(AppID);
/* Initialize the COM library for the main thread. */
CoInitializeEx(NULL, COINIT_MULTITHREADED);