www.pudn.com > Read.rar > Proxy.cpp


// Proxy.cpp : Defines the class behaviors for the application. 
// 
 
#include "stdafx.h" 
#include "Proxy.h" 
#include "ProxyDlg.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CProxyApp 
 
BEGIN_MESSAGE_MAP(CProxyApp, CWinApp) 
	//{{AFX_MSG_MAP(CProxyApp) 
	//}}AFX_MSG 
	ON_COMMAND(ID_HELP, CWinApp::OnHelp) 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// CProxyApp construction 
 
CProxyApp::CProxyApp() 
{ 
} 
 
///////////////////////////////////////////////////////////////////////////// 
// The one and only CProxyApp object 
 
CProxyApp theApp; 
 
///////////////////////////////////////////////////////////////////////////// 
// CProxyApp initialization 
 
BOOL CProxyApp::InitInstance() 
{ 
	// Standard initialization 
 
	CProxyDlg dlg; 
	m_pMainWnd = &dlg; 
	int nResponse = dlg.DoModal(); 
 
	// Since the dialog has been closed, return FALSE so that we exit the 
	//  application, rather than start the application's message pump. 
	return FALSE; 
}