diff options
Diffstat (limited to 'desktop/win32/source/applauncher/launcher.cxx')
-rw-r--r-- | desktop/win32/source/applauncher/launcher.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/desktop/win32/source/applauncher/launcher.cxx b/desktop/win32/source/applauncher/launcher.cxx index 96b94bbbfd7d..8ba9cb6ee046 100644 --- a/desktop/win32/source/applauncher/launcher.cxx +++ b/desktop/win32/source/applauncher/launcher.cxx @@ -28,6 +28,7 @@ #include "launcher.hxx" +#include "appusermodelid.hxx" #ifndef _WINDOWS_ @@ -53,6 +54,10 @@ extern "C" int APIENTRY WinMain( HINSTANCE, HINSTANCE, LPSTR, int ) extern "C" int APIENTRY _tWinMain( HINSTANCE, HINSTANCE, LPTSTR, int ) #endif { + // Set an explicit Application User Model ID for the process + + SetExplicitAppUserModelID(APPUSERMODELID); + // Retreive startup info STARTUPINFO aStartupInfo; @@ -86,6 +91,7 @@ extern "C" int APIENTRY _tWinMain( HINSTANCE, HINSTANCE, LPTSTR, int ) _tsplitpath( szApplicationName, szDrive, szDir, szFileName, szExt ); _tmakepath( szApplicationName, szDrive, szDir, OFFICE_IMAGE_NAME, _T(".exe") ); + PROCESS_INFORMATION aProcessInfo; BOOL fSuccess = CreateProcess( |