diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-23 18:12:28 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-23 18:12:28 +0000 |
commit | fa0eb7cdb1cd795cead9de757ea6faba55f6efb8 (patch) | |
tree | 78d1281eba1e6020d5e46616b20600ed7cce353c /plugins | |
parent | ffed76f74a34332c790fc1feda6cff48827606ad (diff) |
obsoleted check removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@1131 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Chat/src/main.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/plugins/Chat/src/main.cpp b/plugins/Chat/src/main.cpp index 1c46524fec..04c5451704 100644 --- a/plugins/Chat/src/main.cpp +++ b/plugins/Chat/src/main.cpp @@ -78,35 +78,9 @@ extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {MIID_CHAT, M extern "C" __declspec(dllexport) int Load(void)
{
- BOOL bFlag = FALSE;
-
// set the memory & utf8 managers
mir_getLP( &pluginInfo );
- HINSTANCE hDll = LoadLibrary(_T("riched20.dll"));
- if ( hDll ) {
- TCHAR modulePath[MAX_PATH];
- if (GetModuleFileName(hDll, modulePath, MAX_PATH)) {
- DWORD dummy;
- VS_FIXEDFILEINFO* vsInfo;
- UINT vsInfoSize;
- DWORD size = GetFileVersionInfoSize(modulePath, &dummy);
- BYTE* buffer = (BYTE*) mir_alloc(size);
-
- if (GetFileVersionInfo(modulePath, 0, size, buffer))
- if (VerQueryValue(buffer, _T("\\"), (LPVOID*) &vsInfo, &vsInfoSize))
- if (LOWORD(vsInfo->dwFileVersionMS) != 0)
- bFlag= TRUE;
- mir_free(buffer);
- } }
-
- if ( !bFlag ) {
- if (IDYES == MessageBox(0, TranslateT("Miranda could not load the Chat plugin because Microsoft Rich Edit v 3 is missing.\nIf you are using Windows 95/98/NT or WINE please upgrade your Rich Edit control.\n\nDo you want to download an update now?."),TranslateT("Information"),MB_YESNO|MB_ICONINFORMATION))
- CallService(MS_UTILS_OPENURL, OUF_NEWWINDOW|OUF_TCHAR, (LPARAM) _T("http://members.chello.se/matrix/re3/richupd.exe"));
- FreeLibrary(GetModuleHandleA("riched20.dll"));
- return 1;
- }
-
UpgradeCheck();
g_hMenu = LoadMenu(g_hInst, MAKEINTRESOURCE(IDR_MENU));
|