- Define APPLICATION_DATEBASE_URL

svn path=/trunk/; revision=42695
This commit is contained in:
Dmitry Chapyshev 2009-08-15 11:41:56 +00:00
parent e9dbd473eb
commit 5efe007aeb
2 changed files with 3 additions and 1 deletions

View file

@ -76,7 +76,7 @@ EnumAvailableApplications(INT EnumType, AVAILENUMPROC lpEnumProc)
if (hFind == INVALID_HANDLE_VALUE)
{
if (GetFileAttributesW(szCabPath) == 0xFFFFFFFF)
DownloadApplicationsDB(L"http://opendn.org/rappmgr.cab");
DownloadApplicationsDB(APPLICATION_DATEBASE_URL);
ExtractFilesFromCab(szCabPath, szAppsPath);
hFind = FindFirstFileW(szPath, &FindFileData);

View file

@ -9,6 +9,8 @@
#include "resource.h"
#define APPLICATION_DATEBASE_URL L"http://opendn.org/rappmgr.cab"
#define SPLIT_WIDTH 4
#define MAX_STR_LEN 256