From 7cbd469d3f0273fa1b5dc68cb246c436e3f5fac9 Mon Sep 17 00:00:00 2001 From: koldo Date: Wed, 23 Oct 2013 19:50:05 +0000 Subject: [PATCH] MAPIEx: Panic message git-svn-id: svn://ultimatepp.org/upp/trunk@6480 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- bazaar/MAPIEx/MAPIEx.cpp | 3 ++- bazaar/MAPIEx/MAPIEx.upp | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bazaar/MAPIEx/MAPIEx.cpp b/bazaar/MAPIEx/MAPIEx.cpp index f6f0a0f13..783ba0c3f 100644 --- a/bazaar/MAPIEx/MAPIEx.cpp +++ b/bazaar/MAPIEx/MAPIEx.cpp @@ -44,7 +44,8 @@ MAPIFunctions &MF() { INITBLOCK { if (!MAPIEx::Init()) - Panic("Impossible to initialize MAPI"); + MessageBox(::GetActiveWindow(), "MAPI Error", "Impossible to initialize MAPI", + MB_ICONSTOP|MB_OK|MB_APPLMODAL); } EXITBLOCK { diff --git a/bazaar/MAPIEx/MAPIEx.upp b/bazaar/MAPIEx/MAPIEx.upp index dcfa95054..d309d0832 100644 --- a/bazaar/MAPIEx/MAPIEx.upp +++ b/bazaar/MAPIEx/MAPIEx.upp @@ -27,4 +27,3 @@ file src.tpp, License.txt; -