diff options
author | George Hazan <george.hazan@gmail.com> | 2012-08-15 17:26:24 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-08-15 17:26:24 +0000 |
commit | 57c086462f793d864c2373bd48bf763a466bcd3e (patch) | |
tree | 582fc465d5267d16d2f33a4702f0eb894bc079b6 | |
parent | c2e13d700cbab383b9326ae1fac5991633a42392 (diff) |
message box for std*.dll loading fatal error
git-svn-id: http://svn.miranda-ng.org/main/trunk@1468 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | src/modules/plugins/newplugins.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
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)
|