]> git.saurik.com Git - apple/mdnsresponder.git/blobdiff - mDNSWindows/ControlPanel/ControlPanel.cpp
mDNSResponder-214.3.tar.gz
[apple/mdnsresponder.git] / mDNSWindows / ControlPanel / ControlPanel.cpp
index ea0321e8df11f016bb4b1d4bb00713e12b4c1190..fb85d9a1c78863312b9b6362cfcb98ed7e6b6538 100755 (executable)
     Change History (most recent first):
 
 $Log: ControlPanel.cpp,v $
     Change History (most recent first):
 
 $Log: ControlPanel.cpp,v $
+Revision 1.5  2009/03/30 20:00:19  herscher
+<rdar://problem/5925472> Current Bonjour code does not compile on Windows
+<rdar://problem/5187308> Move build train to Visual Studio 2005
+
+Revision 1.4  2007/04/27 20:42:11  herscher
+<rdar://problem/5078828> 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
 
 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;
 CCPApplet::OnRun(CWnd* pParentWnd)
 {
        LRESULT         lResult = 1;
-       CWnd    *       pWnd    = (CWnd*) m_uiClass->CreateObject(); 
+       CWnd    *       pWnd;
+
+       InitCommonControls();
+
+       pWnd = (CWnd*) m_uiClass->CreateObject(); 
 
        if ( pWnd )
        {
 
        if ( pWnd )
        {
@@ -297,7 +308,7 @@ CCPApp::OnExit()
 //---------------------------------------------------------------------------------------------------------------------------
 
 LRESULT
 //---------------------------------------------------------------------------------------------------------------------------
 
 LRESULT
-CCPApp::OnCplMsg(HWND hWndCPl, UINT uMsg, LONG lParam1, LONG lParam2)
+CCPApp::OnCplMsg(HWND hWndCPl, UINT uMsg, LPARAM lParam1, LPARAM lParam2)
 {
        LRESULT lResult = 1;
 
 {
        LRESULT lResult = 1;