From 0922841b20da6c15076f1467280a0e67407826d1 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sun, 31 Oct 2010 13:02:56 +0200 Subject: log rework better gpg configuration check removed annoying message boxes (info now out to log) --- main.cpp | 76 +++++++++++++++------------------------------------------------- 1 file changed, 18 insertions(+), 58 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index ab3739d..197623f 100644 --- a/main.cpp +++ b/main.cpp @@ -93,14 +93,11 @@ static BOOL CALLBACK DlgProcFirstRun(HWND hwndDlg,UINT msg,WPARAM wParam,LPARAM if(!gpg_thread.timed_join(boost::posix_time::seconds(10))) { gpg_thread.~thread(); - MessageBox(0, _T("GPG execution timed out, aborted"), _T(""), MB_OK); + debuglog<timed_join(boost::posix_time::seconds(10))) { delete gpg_thread; - MessageBox(0, _T("GPG execution timed out, aborted"), _T(""), MB_OK); + debuglog<timed_join(boost::posix_time::seconds(10))) { delete gpg_thread; - MessageBox(0, _T("GPG execution timed out, aborted"), _T(""), MB_OK); + debuglog<