2256. [bug] win32: Correctly register the installation location of

bindevt.dll. [RT #17159]
This commit is contained in:
Mark Andrews
2007-10-31 00:15:12 +00:00
parent 2bce032ba3
commit d3e140c996
2 changed files with 6 additions and 4 deletions

View File

@@ -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

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: BINDInstallDlg.cpp,v 1.6.2.6.2.22 2007/08/28 07:19:11 tbox Exp $ */
/* $Id: BINDInstallDlg.cpp,v 1.6.2.6.2.23 2007/10/31 00:15:12 marka Exp $ */
/*
* Copyright (c) 1999-2000 by Nortel Networks Corporation
@@ -916,10 +916,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 */