From 57c086462f793d864c2373bd48bf763a466bcd3e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 15 Aug 2012 17:26:24 +0000 Subject: message box for std*.dll loading fatal error git-svn-id: http://svn.miranda-ng.org/main/trunk@1468 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/plugins/newplugins.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/plugins/newplugins.cpp b/src/modules/plugins/newplugins.cpp index 9b6dbf22af..74b1e00830 100644 --- a/src/modules/plugins/newplugins.cpp +++ b/src/modules/plugins/newplugins.cpp @@ -136,8 +136,12 @@ int LoadStdPlugins() if ( pluginDefault[i].pImpl ) continue; - if ( !LoadCorePlugin(pluginDefault[i])) + if ( !LoadCorePlugin(pluginDefault[i])) { + TCHAR tszBuf[512]; + mir_sntprintf(tszBuf, SIZEOF(tszBuf), TranslateT("Core plugin '%s' cannot be loaded or missing. Miranda will exit now"), pluginDefault[i].stdplugname); + MessageBox(NULL, tszBuf, TranslateT("Fatal error"), MB_OK | MB_ICONSTOP); return 1; + } } if (pluginDefault[13].pImpl == NULL) -- cgit v1.2.3