Shareaza is a free file-sharing client and download manager for Windows with support for Gnutella, Gnutella2, eDonkey2000, BitTorrent, DC ++, FTP and HTTP protocols. Able to work with magnet-, ED2K-, piolet- and Gnutella-links, as well as with standard HTTP- and FTP-links. Translated into 27 languages.
.
2 Windows 7 XP .
3 RazaWebHook64.dll .
. Index: setup/scripts/main.iss =================================================================== --- setup/scripts/main.iss (revision 9293) +++ setup/scripts/main.iss (working copy) @@ -240,7 +240,7 @@ #endif Source: "{#Compiler}\{#PlatformName}\{#ConfigurationName}\RatDVDReader.dll"; DestDir: "{app}"; Flags: overwritereadonly replacesameversion restartreplace uninsremovereadonly sortfilesbyextension regserver Source: "{#Compiler}\Win32\{#ConfigurationName}\RazaWebHook32.dll"; DestDir: "{app}"; Flags: overwritereadonly replacesameversion restartreplace uninsremovereadonly uninsrestartdelete sortfilesbyextension regserver noregerror -Source: "{#Compiler}\x64\{#ConfigurationName}\RazaWebHook64.dll"; DestDir: "{app}"; Flags: overwritereadonly replacesameversion restartreplace uninsremovereadonly uninsrestartdelete sortfilesbyextension regserver noregerror +; Source: "{#Compiler}\x64\{#ConfigurationName}\RazaWebHook64.dll"; DestDir: "{app}"; Flags: overwritereadonly replacesameversion restartreplace uninsremovereadonly uninsrestartdelete sortfilesbyextension regserver noregerror Source: "{#Compiler}\{#PlatformName}\{#ConfigurationName}\SkinScanSKS.dll"; DestDir: "{app}"; Flags: overwritereadonly replacesameversion restartreplace uninsremovereadonly sortfilesbyextension regserver Source: "{#Compiler}\{#PlatformName}\{#ConfigurationName}\SWFPlugin.dll"; DestDir: "{app}"; Flags: overwritereadonly replacesameversion restartreplace uninsremovereadonly sortfilesbyextension regserver Source: "{#Compiler}\{#PlatformName}\{#ConfigurationName}\VirusTotal.dll"; DestDir: "{app}"; Flags: overwritereadonly replacesameversion restartreplace uninsremovereadonly sortfilesbyextension regserver Index: shareaza/LibraryFolders.cpp =================================================================== --- shareaza/LibraryFolders.cpp (revision 9293) +++ shareaza/LibraryFolders.cpp (working copy) @@ -776,17 +776,17 @@ void CLibraryFolders::Maintain() { CQuickLock oLock( Library.m_pSection ); - +/*// CComPtr< IShellLibrary > pIShellLib; if ( ( Windows.dwMajorVersion > 6 || ( Windows.dwMajorVersion == 6 && Windows.dwMinorVersion >= 1 ) ) && Settings.Library.UseWindowsLibrary ) pIShellLib.CoCreateInstance( CLSID_ShellLibrary ); - +//*/ for ( POSITION pos = GetFolderIterator() ; pos ; ) { CLibraryFolder* pFolder = GetNextFolder( pos ); pFolder->Maintain( TRUE ); - +/*// if ( pIShellLib && theApp.m_pfnSHCreateItemFromParsingName ) { CComPtr< IShellItem > psiFolder; @@ -794,8 +794,9 @@ if ( psiFolder ) pIShellLib->AddFolder( psiFolder ); } +//*/ } - +/*// if ( pIShellLib ) { pIShellLib->SetIcon( (LPCWSTR)CT2W( Skin.GetImagePath( IDR_LIBRARYFRAME ) ) ); @@ -803,6 +804,7 @@ CComPtr< IShellItem > psiLibrary; pIShellLib->SaveInKnownFolder( FOLDERID_UsersLibraries, CLIENT_NAME_T, LSF_OVERRIDEEXISTING, &psiLibrary ); } +//*/ } ////////////////////////////////////////////////////////////////////// Index: shareaza/Shareaza.cpp =================================================================== --- shareaza/Shareaza.cpp (revision 9293) +++ shareaza/Shareaza.cpp (working copy) @@ -694,7 +694,7 @@ // oTasks.AddTask( _T("shareaza:command:search"), _T(""), LoadString( IDS_SEARCH_TASK ) + _T("..."), theApp.m_strBinaryPath, - IDR_SEARCHFRAME ); // oTasks.AddTask( _T("shareaza:command:download"), _T(""), LoadString( IDS_DOWNLOAD_TASK ) + _T("..."), theApp.m_strBinaryPath, - IDR_DOWNLOADSFRAME ); - // For VS2008: + /*/ For VS2008: CComPtr< ICustomDestinationList > pList; if ( SUCCEEDED( pList.CoCreateInstance( CLSID_DestinationList ) ) ) { @@ -724,6 +724,7 @@ VERIFY( SUCCEEDED( pList->CommitList() ) ); } + //*/ } return CWinApp::Register(); @@ -747,6 +748,7 @@ { SHAddToRecentDocs( SHARD_PATHW, lpszPathName ); +/*/ if ( Windows.dwMajorVersion > 6 || ( Windows.dwMajorVersion == 6 && Windows.dwMinorVersion >= 1 ) ) { if ( m_pfnSHCreateItemFromParsingName ) @@ -759,6 +761,7 @@ } } } +//*/ } CDocument* CShareazaApp::OpenDocumentFile(LPCTSTR lpszFileName) Index: shareaza/StdAfx.h =================================================================== --- shareaza/StdAfx.h (revision 9293) +++ shareaza/StdAfx.h (working copy) @@ -173,6 +173,7 @@ #include <string> #include <utility> #include <vector> +#include <limits> // // Boost Index: shareaza/WndMain.cpp =================================================================== --- shareaza/WndMain.cpp (revision 9293) +++ shareaza/WndMain.cpp (working copy) @@ -435,7 +435,7 @@ // Task Bar - m_pTaskbar.CoCreateInstance( CLSID_TaskbarList ); +// m_pTaskbar.CoCreateInstance( CLSID_TaskbarList ); // Tray @@ -654,7 +654,7 @@ m_brshDockbar.DeleteObject(); - m_pTaskbar.Release(); +// m_pTaskbar.Release(); // Destroy main window CMDIFrameWnd::OnClose(); @@ -1581,7 +1581,7 @@ m_bTrayIcon = Shell_NotifyIcon( NIM_MODIFY, &m_pTray ); } - // Task Bar + /*/ Task Bar if ( ! m_bTrayHide && m_pTaskbar ) { CString sAppBarTip; @@ -1603,6 +1603,7 @@ } m_pTaskbar->SetThumbnailTooltip( hWnd, sAppBarTip ); } + //*/ } // This function runs some basic checks that everything is okay- disks, directories, local network is Index: shareaza/WndMain.h =================================================================== --- shareaza/WndMain.h (revision 9293) +++ shareaza/WndMain.h (working copy) @@ -90,7 +90,7 @@ BOOL m_bTrayIcon; // Is tray icon available? BOOL m_bTrayUpdate; // Is tray data need to be updated? NOTIFYICONDATA m_pTray; // Tray icon data - CComPtr< ITaskbarList3 > m_pTaskbar; // Windows task bar +// CComPtr< ITaskbarList3 > m_pTaskbar; // Windows task bar BOOL m_bTimer; CString m_sMsgStatus; DWORD m_nAlpha; // Main window transparency (0...255)
.
2 Windows 7 XP .
3 RazaWebHook64.dll .
. Index: setup/scripts/main.iss =================================================================== --- setup/scripts/main.iss (revision 9293) +++ setup/scripts/main.iss (working copy) @@ -240,7 +240,7 @@ #endif Source: "{#Compiler}\{#PlatformName}\{#ConfigurationName}\RatDVDReader.dll"; DestDir: "{app}"; Flags: overwritereadonly replacesameversion restartreplace uninsremovereadonly sortfilesbyextension regserver Source: "{#Compiler}\Win32\{#ConfigurationName}\RazaWebHook32.dll"; DestDir: "{app}"; Flags: overwritereadonly replacesameversion restartreplace uninsremovereadonly uninsrestartdelete sortfilesbyextension regserver noregerror -Source: "{#Compiler}\x64\{#ConfigurationName}\RazaWebHook64.dll"; DestDir: "{app}"; Flags: overwritereadonly replacesameversion restartreplace uninsremovereadonly uninsrestartdelete sortfilesbyextension regserver noregerror +; Source: "{#Compiler}\x64\{#ConfigurationName}\RazaWebHook64.dll"; DestDir: "{app}"; Flags: overwritereadonly replacesameversion restartreplace uninsremovereadonly uninsrestartdelete sortfilesbyextension regserver noregerror Source: "{#Compiler}\{#PlatformName}\{#ConfigurationName}\SkinScanSKS.dll"; DestDir: "{app}"; Flags: overwritereadonly replacesameversion restartreplace uninsremovereadonly sortfilesbyextension regserver Source: "{#Compiler}\{#PlatformName}\{#ConfigurationName}\SWFPlugin.dll"; DestDir: "{app}"; Flags: overwritereadonly replacesameversion restartreplace uninsremovereadonly sortfilesbyextension regserver Source: "{#Compiler}\{#PlatformName}\{#ConfigurationName}\VirusTotal.dll"; DestDir: "{app}"; Flags: overwritereadonly replacesameversion restartreplace uninsremovereadonly sortfilesbyextension regserver Index: shareaza/LibraryFolders.cpp =================================================================== --- shareaza/LibraryFolders.cpp (revision 9293) +++ shareaza/LibraryFolders.cpp (working copy) @@ -776,17 +776,17 @@ void CLibraryFolders::Maintain() { CQuickLock oLock( Library.m_pSection ); - +/*// CComPtr< IShellLibrary > pIShellLib; if ( ( Windows.dwMajorVersion > 6 || ( Windows.dwMajorVersion == 6 && Windows.dwMinorVersion >= 1 ) ) && Settings.Library.UseWindowsLibrary ) pIShellLib.CoCreateInstance( CLSID_ShellLibrary ); - +//*/ for ( POSITION pos = GetFolderIterator() ; pos ; ) { CLibraryFolder* pFolder = GetNextFolder( pos ); pFolder->Maintain( TRUE ); - +/*// if ( pIShellLib && theApp.m_pfnSHCreateItemFromParsingName ) { CComPtr< IShellItem > psiFolder; @@ -794,8 +794,9 @@ if ( psiFolder ) pIShellLib->AddFolder( psiFolder ); } +//*/ } - +/*// if ( pIShellLib ) { pIShellLib->SetIcon( (LPCWSTR)CT2W( Skin.GetImagePath( IDR_LIBRARYFRAME ) ) ); @@ -803,6 +804,7 @@ CComPtr< IShellItem > psiLibrary; pIShellLib->SaveInKnownFolder( FOLDERID_UsersLibraries, CLIENT_NAME_T, LSF_OVERRIDEEXISTING, &psiLibrary ); } +//*/ } ////////////////////////////////////////////////////////////////////// Index: shareaza/Shareaza.cpp =================================================================== --- shareaza/Shareaza.cpp (revision 9293) +++ shareaza/Shareaza.cpp (working copy) @@ -694,7 +694,7 @@ // oTasks.AddTask( _T("shareaza:command:search"), _T(""), LoadString( IDS_SEARCH_TASK ) + _T("..."), theApp.m_strBinaryPath, - IDR_SEARCHFRAME ); // oTasks.AddTask( _T("shareaza:command:download"), _T(""), LoadString( IDS_DOWNLOAD_TASK ) + _T("..."), theApp.m_strBinaryPath, - IDR_DOWNLOADSFRAME ); - // For VS2008: + /*/ For VS2008: CComPtr< ICustomDestinationList > pList; if ( SUCCEEDED( pList.CoCreateInstance( CLSID_DestinationList ) ) ) { @@ -724,6 +724,7 @@ VERIFY( SUCCEEDED( pList->CommitList() ) ); } + //*/ } return CWinApp::Register(); @@ -747,6 +748,7 @@ { SHAddToRecentDocs( SHARD_PATHW, lpszPathName ); +/*/ if ( Windows.dwMajorVersion > 6 || ( Windows.dwMajorVersion == 6 && Windows.dwMinorVersion >= 1 ) ) { if ( m_pfnSHCreateItemFromParsingName ) @@ -759,6 +761,7 @@ } } } +//*/ } CDocument* CShareazaApp::OpenDocumentFile(LPCTSTR lpszFileName) Index: shareaza/StdAfx.h =================================================================== --- shareaza/StdAfx.h (revision 9293) +++ shareaza/StdAfx.h (working copy) @@ -173,6 +173,7 @@ #include <string> #include <utility> #include <vector> +#include <limits> // // Boost Index: shareaza/WndMain.cpp =================================================================== --- shareaza/WndMain.cpp (revision 9293) +++ shareaza/WndMain.cpp (working copy) @@ -435,7 +435,7 @@ // Task Bar - m_pTaskbar.CoCreateInstance( CLSID_TaskbarList ); +// m_pTaskbar.CoCreateInstance( CLSID_TaskbarList ); // Tray @@ -654,7 +654,7 @@ m_brshDockbar.DeleteObject(); - m_pTaskbar.Release(); +// m_pTaskbar.Release(); // Destroy main window CMDIFrameWnd::OnClose(); @@ -1581,7 +1581,7 @@ m_bTrayIcon = Shell_NotifyIcon( NIM_MODIFY, &m_pTray ); } - // Task Bar + /*/ Task Bar if ( ! m_bTrayHide && m_pTaskbar ) { CString sAppBarTip; @@ -1603,6 +1603,7 @@ } m_pTaskbar->SetThumbnailTooltip( hWnd, sAppBarTip ); } + //*/ } // This function runs some basic checks that everything is okay- disks, directories, local network is Index: shareaza/WndMain.h =================================================================== --- shareaza/WndMain.h (revision 9293) +++ shareaza/WndMain.h (working copy) @@ -90,7 +90,7 @@ BOOL m_bTrayIcon; // Is tray icon available? BOOL m_bTrayUpdate; // Is tray data need to be updated? NOTIFYICONDATA m_pTray; // Tray icon data - CComPtr< ITaskbarList3 > m_pTaskbar; // Windows task bar +// CComPtr< ITaskbarList3 > m_pTaskbar; // Windows task bar BOOL m_bTimer; CString m_sMsgStatus; DWORD m_nAlpha; // Main window transparency (0...255)
.
2 Windows 7 XP .
3 RazaWebHook64.dll .
. Index: setup/scripts/main.iss =================================================================== --- setup/scripts/main.iss (revision 9293) +++ setup/scripts/main.iss (working copy) @@ -240,7 +240,7 @@ #endif Source: "{#Compiler}\{#PlatformName}\{#ConfigurationName}\RatDVDReader.dll"; DestDir: "{app}"; Flags: overwritereadonly replacesameversion restartreplace uninsremovereadonly sortfilesbyextension regserver Source: "{#Compiler}\Win32\{#ConfigurationName}\RazaWebHook32.dll"; DestDir: "{app}"; Flags: overwritereadonly replacesameversion restartreplace uninsremovereadonly uninsrestartdelete sortfilesbyextension regserver noregerror -Source: "{#Compiler}\x64\{#ConfigurationName}\RazaWebHook64.dll"; DestDir: "{app}"; Flags: overwritereadonly replacesameversion restartreplace uninsremovereadonly uninsrestartdelete sortfilesbyextension regserver noregerror +; Source: "{#Compiler}\x64\{#ConfigurationName}\RazaWebHook64.dll"; DestDir: "{app}"; Flags: overwritereadonly replacesameversion restartreplace uninsremovereadonly uninsrestartdelete sortfilesbyextension regserver noregerror Source: "{#Compiler}\{#PlatformName}\{#ConfigurationName}\SkinScanSKS.dll"; DestDir: "{app}"; Flags: overwritereadonly replacesameversion restartreplace uninsremovereadonly sortfilesbyextension regserver Source: "{#Compiler}\{#PlatformName}\{#ConfigurationName}\SWFPlugin.dll"; DestDir: "{app}"; Flags: overwritereadonly replacesameversion restartreplace uninsremovereadonly sortfilesbyextension regserver Source: "{#Compiler}\{#PlatformName}\{#ConfigurationName}\VirusTotal.dll"; DestDir: "{app}"; Flags: overwritereadonly replacesameversion restartreplace uninsremovereadonly sortfilesbyextension regserver Index: shareaza/LibraryFolders.cpp =================================================================== --- shareaza/LibraryFolders.cpp (revision 9293) +++ shareaza/LibraryFolders.cpp (working copy) @@ -776,17 +776,17 @@ void CLibraryFolders::Maintain() { CQuickLock oLock( Library.m_pSection ); - +/*// CComPtr< IShellLibrary > pIShellLib; if ( ( Windows.dwMajorVersion > 6 || ( Windows.dwMajorVersion == 6 && Windows.dwMinorVersion >= 1 ) ) && Settings.Library.UseWindowsLibrary ) pIShellLib.CoCreateInstance( CLSID_ShellLibrary ); - +//*/ for ( POSITION pos = GetFolderIterator() ; pos ; ) { CLibraryFolder* pFolder = GetNextFolder( pos ); pFolder->Maintain( TRUE ); - +/*// if ( pIShellLib && theApp.m_pfnSHCreateItemFromParsingName ) { CComPtr< IShellItem > psiFolder; @@ -794,8 +794,9 @@ if ( psiFolder ) pIShellLib->AddFolder( psiFolder ); } +//*/ } - +/*// if ( pIShellLib ) { pIShellLib->SetIcon( (LPCWSTR)CT2W( Skin.GetImagePath( IDR_LIBRARYFRAME ) ) ); @@ -803,6 +804,7 @@ CComPtr< IShellItem > psiLibrary; pIShellLib->SaveInKnownFolder( FOLDERID_UsersLibraries, CLIENT_NAME_T, LSF_OVERRIDEEXISTING, &psiLibrary ); } +//*/ } ////////////////////////////////////////////////////////////////////// Index: shareaza/Shareaza.cpp =================================================================== --- shareaza/Shareaza.cpp (revision 9293) +++ shareaza/Shareaza.cpp (working copy) @@ -694,7 +694,7 @@ // oTasks.AddTask( _T("shareaza:command:search"), _T(""), LoadString( IDS_SEARCH_TASK ) + _T("..."), theApp.m_strBinaryPath, - IDR_SEARCHFRAME ); // oTasks.AddTask( _T("shareaza:command:download"), _T(""), LoadString( IDS_DOWNLOAD_TASK ) + _T("..."), theApp.m_strBinaryPath, - IDR_DOWNLOADSFRAME ); - // For VS2008: + /*/ For VS2008: CComPtr< ICustomDestinationList > pList; if ( SUCCEEDED( pList.CoCreateInstance( CLSID_DestinationList ) ) ) { @@ -724,6 +724,7 @@ VERIFY( SUCCEEDED( pList->CommitList() ) ); } + //*/ } return CWinApp::Register(); @@ -747,6 +748,7 @@ { SHAddToRecentDocs( SHARD_PATHW, lpszPathName ); +/*/ if ( Windows.dwMajorVersion > 6 || ( Windows.dwMajorVersion == 6 && Windows.dwMinorVersion >= 1 ) ) { if ( m_pfnSHCreateItemFromParsingName ) @@ -759,6 +761,7 @@ } } } +//*/ } CDocument* CShareazaApp::OpenDocumentFile(LPCTSTR lpszFileName) Index: shareaza/StdAfx.h =================================================================== --- shareaza/StdAfx.h (revision 9293) +++ shareaza/StdAfx.h (working copy) @@ -173,6 +173,7 @@ #include <string> #include <utility> #include <vector> +#include <limits> // // Boost Index: shareaza/WndMain.cpp =================================================================== --- shareaza/WndMain.cpp (revision 9293) +++ shareaza/WndMain.cpp (working copy) @@ -435,7 +435,7 @@ // Task Bar - m_pTaskbar.CoCreateInstance( CLSID_TaskbarList ); +// m_pTaskbar.CoCreateInstance( CLSID_TaskbarList ); // Tray @@ -654,7 +654,7 @@ m_brshDockbar.DeleteObject(); - m_pTaskbar.Release(); +// m_pTaskbar.Release(); // Destroy main window CMDIFrameWnd::OnClose(); @@ -1581,7 +1581,7 @@ m_bTrayIcon = Shell_NotifyIcon( NIM_MODIFY, &m_pTray ); } - // Task Bar + /*/ Task Bar if ( ! m_bTrayHide && m_pTaskbar ) { CString sAppBarTip; @@ -1603,6 +1603,7 @@ } m_pTaskbar->SetThumbnailTooltip( hWnd, sAppBarTip ); } + //*/ } // This function runs some basic checks that everything is okay- disks, directories, local network is Index: shareaza/WndMain.h =================================================================== --- shareaza/WndMain.h (revision 9293) +++ shareaza/WndMain.h (working copy) @@ -90,7 +90,7 @@ BOOL m_bTrayIcon; // Is tray icon available? BOOL m_bTrayUpdate; // Is tray data need to be updated? NOTIFYICONDATA m_pTray; // Tray icon data - CComPtr< ITaskbarList3 > m_pTaskbar; // Windows task bar +// CComPtr< ITaskbarList3 > m_pTaskbar; // Windows task bar BOOL m_bTimer; CString m_sMsgStatus; DWORD m_nAlpha; // Main window transparency (0...255)
Source: https://habr.com/ru/post/191748/
All Articles