⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 httpthread.h

📁 INTERNET网络高级编程的包括邮件加密、MAPI、ISAPI、ACTIVEX、FTP等等。
💻 H
字号:
// HttpThread.h: interface for the CHttpThread class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_HTTPTHREAD_H__C76D023B_6C80_11D3_8099_5254AB266D7A__INCLUDED_)
#define AFX_HTTPTHREAD_H__C76D023B_6C80_11D3_8099_5254AB266D7A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

// 当线程结束时发送的消息
#define WM_READFILECOMPLETED (WM_USER + 100)

class CHttpThread  
{
public:
	CHttpThread();
	virtual ~CHttpThread();

	
	void GetHttpFile(CString &strAddress);  
    static UINT GetHttpFileWorkerThread(LPVOID pvThread);
	UINT _GetHttpFile();
	
	
	void InitHttp(HWND hPostMsgWnd);
	char* GetBuffer();
	
private:
	CString m_strServer;
	CString m_strPath;
//	CString m_strAddress;
	
	HWND m_hPostMsgWnd;
    LPSTR lpszBuf;
 };

 UINT GetHttpFileWorkerThread(LPVOID pvThread);
#endif // !defined(AFX_HTTPTHREAD_H__C76D023B_6C80_11D3_8099_5254AB266D7A__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -