www.pudn.com > MyInternet.rar > MyWinInetClass.h


#if !defined(AFX_MYWININETCLASS_H__C6E3D61E_540C_4A64_953C_5C68AE6933A9__INCLUDED_) 
#define AFX_MYWININETCLASS_H__C6E3D61E_540C_4A64_953C_5C68AE6933A9__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// MyWinInetClass.h : header file 
// 
 
#include "afxinet.h" 
#include "wininet.h" 
 
///////////////////////////////////////////////////////////////////////////// 
// CMyWinInetClass dialog 
 
class CMyWinInetClass : public CDialog 
{ 
// Construction	 
public: 
	CMyWinInetClass(); 
	virtual ~CMyWinInetClass(); 
public: 
	CString ConnectHttp(const CString sUrl); 
//	CString ConnectHttp(const CString sUrl);//完成连接Http功能的函数 
	//CMyWinInetClass(CWnd* pParent = NULL);   // standard constructor 
 
/* 
// Dialog Data 
	//{{AFX_DATA(CMyWinInetClass) 
	enum { IDD = _UNKNOWN_RESOURCE_ID_ }; 
		// NOTE: the ClassWizard will add data members here 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMyWinInetClass) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
 
	// Generated message map functions 
	//{{AFX_MSG(CMyWinInetClass) 
		// NOTE: the ClassWizard will add member functions here 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
*/ 
 
private: 
	CInternetSession m_session; 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_MYWININETCLASS_H__C6E3D61E_540C_4A64_953C_5C68AE6933A9__INCLUDED_)