diff options
-rw-r--r-- | db3x_autobackups/db3x_mmap.rc | 2 | ||||
-rw-r--r-- | db3x_autobackups/db3x_mmap_8.vcproj | 4 | ||||
-rw-r--r-- | db3x_autobackups/init.c | 4 |
3 files changed, 9 insertions, 1 deletions
diff --git a/db3x_autobackups/db3x_mmap.rc b/db3x_autobackups/db3x_mmap.rc index b700605..9bdd6d1 100644 --- a/db3x_autobackups/db3x_mmap.rc +++ b/db3x_autobackups/db3x_mmap.rc @@ -102,7 +102,7 @@ BEGIN END
IDD_COPYPROGRESS DIALOGEX 0, 0, 254, 148
-STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CLIPCHILDREN | WS_CAPTION
+STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_POPUP | WS_CLIPCHILDREN | WS_CAPTION
CAPTION "Backup in Progress"
FONT 8, "MS Sans Serif", 0, 0, 0x0
BEGIN
diff --git a/db3x_autobackups/db3x_mmap_8.vcproj b/db3x_autobackups/db3x_mmap_8.vcproj index d893e27..8d09534 100644 --- a/db3x_autobackups/db3x_mmap_8.vcproj +++ b/db3x_autobackups/db3x_mmap_8.vcproj @@ -670,6 +670,10 @@ >
</File>
<File
+ RelativePath=".\icon1.ico"
+ >
+ </File>
+ <File
RelativePath=".\version.rc"
>
</File>
diff --git a/db3x_autobackups/init.c b/db3x_autobackups/init.c index ae2e7fa..7b60ab5 100644 --- a/db3x_autobackups/init.c +++ b/db3x_autobackups/init.c @@ -175,6 +175,10 @@ __declspec(dllexport) DATABASELINK* DatabasePluginInfo(void * reserved) __declspec(dllexport) PLUGININFOEX * MirandaPluginInfoEx(DWORD mirandaVersion)
{
+ if ( mirandaVersion < PLUGIN_MAKE_VERSION(0,7,0,0)) {
+ MessageBox( NULL, _T("The db3x_mmap plugin cannot be loaded. It requires Miranda IM 0.7.0.0 or later."), _T("db3x_mmap Plugin"), MB_OK|MB_ICONWARNING|MB_SETFOREGROUND|MB_TOPMOST );
+ return NULL;
+ }
return &pluginInfo;
}
|