From 31f324d76d78979f795853edeb572dc944cf5359 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 19 Aug 2005 16:50:35 +0000 Subject: [PATCH] - A number of minor Win32 fixes. - Remove a PostQuitMessage() as suggested by Thorsten so that BartPE restore can work correctly. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2343 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/kes-1.37 | 3 +++ bacula/src/filed/win32/wintray.cpp | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bacula/kes-1.37 b/bacula/kes-1.37 index 06636f4a99..ec30acd3b1 100644 --- a/bacula/kes-1.37 +++ b/bacula/kes-1.37 @@ -5,6 +5,9 @@ General: Changes to 1.37.36: 19Aug05 +- A number of minor Win32 fixes. +- Remove a PostQuitMessage() as suggested by Thorsten so that + BartPE restore can work correctly. - Fix for create JobMedia so that VolIndex remains valid even during a delete Job or pruning -- bug 402. - Minor tweak for Win32 build. diff --git a/bacula/src/filed/win32/wintray.cpp b/bacula/src/filed/win32/wintray.cpp index 3105220eed..3a5518de10 100755 --- a/bacula/src/filed/win32/wintray.cpp +++ b/bacula/src/filed/win32/wintray.cpp @@ -201,7 +201,9 @@ bacMenu::SendTrayMsg(DWORD msg, int bacstat) if (msg == NIM_ADD) { // The tray icon couldn't be created, so use the Properties dialog // as the main program window - PostQuitMessage(0); + // removed because it causes quit when not running as a + // service in use with BartPe. + // PostQuitMessage(0); } } } -- 2.39.2