X-Git-Url: https://git.saurik.com/apple/mdnsresponder.git/blobdiff_plain/619ee211a2d1cd19533acb8c109cb34a602cbd46..ca3eca6bb9e566fa2f1db828ae1825ca099188fd:/mDNSWindows/ControlPanel/ControlPanel.cpp diff --git a/mDNSWindows/ControlPanel/ControlPanel.cpp b/mDNSWindows/ControlPanel/ControlPanel.cpp index ea0321e..fb85d9a 100755 --- a/mDNSWindows/ControlPanel/ControlPanel.cpp +++ b/mDNSWindows/ControlPanel/ControlPanel.cpp @@ -17,6 +17,13 @@ Change History (most recent first): $Log: ControlPanel.cpp,v $ +Revision 1.5 2009/03/30 20:00:19 herscher + Current Bonjour code does not compile on Windows + Move build train to Visual Studio 2005 + +Revision 1.4 2007/04/27 20:42:11 herscher + mDNS: Bonjour Control Panel for Windows doesn't work on Vista + Revision 1.3 2006/08/14 23:25:28 cheshire Re-licensed mDNSResponder daemon source code under Apache License, Version 2.0 @@ -133,7 +140,11 @@ LRESULT CCPApplet::OnRun(CWnd* pParentWnd) { LRESULT lResult = 1; - CWnd * pWnd = (CWnd*) m_uiClass->CreateObject(); + CWnd * pWnd; + + InitCommonControls(); + + pWnd = (CWnd*) m_uiClass->CreateObject(); if ( pWnd ) { @@ -297,7 +308,7 @@ CCPApp::OnExit() //--------------------------------------------------------------------------------------------------------------------------- LRESULT -CCPApp::OnCplMsg(HWND hWndCPl, UINT uMsg, LONG lParam1, LONG lParam2) +CCPApp::OnCplMsg(HWND hWndCPl, UINT uMsg, LPARAM lParam1, LPARAM lParam2) { LRESULT lResult = 1;