diff --git a/CHANGES b/CHANGES index e1e88cc59d..1a9635d981 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +2256. [bug] win32: Correctly register the installation location of + bindevt.dll. [RT #17159] + 2255. [bug] L.ROOT-SERVERS.NET is now 199.7.83.42. 2254. [bug] timer.c:dispatch() failed to lock timer->lock diff --git a/bin/win32/BINDInstall/BINDInstallDlg.cpp b/bin/win32/BINDInstall/BINDInstallDlg.cpp index 01124aa321..23483bf373 100644 --- a/bin/win32/BINDInstall/BINDInstallDlg.cpp +++ b/bin/win32/BINDInstall/BINDInstallDlg.cpp @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: BINDInstallDlg.cpp,v 1.35 2007/06/27 01:11:16 marka Exp $ */ +/* $Id: BINDInstallDlg.cpp,v 1.36 2007/10/31 00:05:36 marka Exp $ */ /* * Copyright (c) 1999-2000 by Nortel Networks Corporation @@ -917,10 +917,9 @@ void CBINDInstallDlg::UnregisterService(BOOL uninstall) { void CBINDInstallDlg::RegisterMessages() { HKEY hKey; DWORD dwData; - char pszMsgDLL[MAX_PATH], buf[MAX_PATH]; + char pszMsgDLL[MAX_PATH]; - GetSystemDirectory(buf, MAX_PATH); - sprintf(pszMsgDLL, "%s\\%s", buf, "bindevt.dll"); + sprintf(pszMsgDLL, "%s\\%s", (LPCTSTR)m_binDir, "bindevt.dll"); SetCurrent(IDS_REGISTER_MESSAGES); /* Create a new key for named */