CHttpClient的目的是用于简化WinInet的API,用于和HTTP服务器进行交互。可以使用HTTP GET向HTTP服务器发送请求(用于请求一个URL对应的内容),使用HTTP POST想HTTP服务器发送数据(用于传递文件和提交表单),以及处理CHttpResponse回来的数据,另外加入了严格的异常检测。附件里同时包含了一普通版和COM版的源代码。
标签: CHttpClient WinInet API
上传时间: 2014-01-06
上传用户:hustfanenze
wince 下socket实现的HTTP类,支持post和get
上传时间: 2013-12-22
上传用户:xaijhqx
Index NAME 总览 (SYNOPSIS) 警告 (WARNING) 描述 (DESCRIPTION) 选项 (OPTIONS) 总体选项 (Overall Option) 语言选项 (LANGUAGE OPTIONS) 预处理器选项 (Preprocessor Option) 汇编器选项 (ASSEMBLER OPTION) 连接器选项 (LINKER OPTION) 目录选项 (DIRECTORY OPTION) 警告选项 (WARNING OPTION) 调试选项 (DEBUGGING OPTION) 优化选项 (OPTIMIZATION OPTION) 目标机选项 (TARGET OPTION) 机器相关选项 (MACHINE DEPENDENT OPTION) 代码生成选项 (CODE GENERATION OPTION) PRAGMAS 文件 (FILE) 另见 (SEE ALSO) BUGS 版权 (COPYING) 作者 (AUTHORS) [中文版维护人] [中文版最新更新] 《中国Linux论坛man手册页翻译计划》 NAME gcc,g++-GNU 工程的 C和 C++编译器(egcs-1.1.2
标签: DESCRIPTION SYNOPSIS OPTIONS Overall
上传时间: 2014-01-03
上传用户:evil
iT响尾蛇 - 网络采集助手 功能说明: 本采集工具能自由发挥脚本配置 采集各种网络数据. 音乐数据,文章数据,图片数据,论坛数据,博客采集,电影采集,各种各样的数据. 脚本配置完全根据正则表达式规则设置,灵活.精确 强大的分页采集,轻而易举采集到各种分页的数据 数据入库目前采用POST方式入库,其它方式入库请关注下次更新 官方网址 http://www.itxws.cn E-Mail:4068738@qq.com
上传时间: 2014-01-17
上传用户:aix008
Web based binary image upload for ARM LPC2366 controller. Toolchain is Keil Realview MDK ARM ver 3.2 with RL ARM Real time Lib 3.40. RAR file contains webiap2.cgi file and HTTP_cgi file. HTTP_cgi file is modified in cgi_process_data to upload binary image of application using HTTP protcol. File upload is using HTML syntax method=\"post\" ENCTYPE=\"multipart/form-data\
标签: web_based
上传时间: 2013-12-17
上传用户:ukuk
This book describes numerous situations that graduate students will commonly encounter as they work towards the goal of earning their PhD. Starting from your very first day in the lab, to the beginning stages of your post-PhD job search, to writing your dissertation,we’ve tried to offer you sage advice on how to handle particular situations as they arise.
标签: situations describes encounter commonly
上传时间: 2013-12-16
上传用户:225588
Xna, XBox游戏开发指南,全中文 第1章XNA介绍.doc 第2章创建你的第一个游戏Pong.doc 第3章辅助类.doc 第4章游戏组件.doc 第5章编写自己的XNA图形引擎.doc 第6章管理Shader.doc 第7章实现法线映射.doc 第8章 添加天空和地面.doc 第8章Post-Screen Shaders和Rocket Commander游戏.doc 第9章通过 XACT添加声音.doc 第10章输入和用户界面.doc 第11章创建XNA Shooter游戏.doc 第12章 3D模型.doc 第12章创建场景和赛道.doc 第13章物理学.doc 第14章调整和改编赛车游戏.doc
上传时间: 2014-11-23
上传用户:myworkpost
My JSP 'TeacherMain.jsp' starting page var $=function(id) { return document.getElementById(id); } function show_menu(num){ for(i=0;i
标签: C++
上传时间: 2015-07-03
上传用户:xiyuzhu
通过Post方式向web端提交客户端数据
标签: Android
上传时间: 2015-12-08
上传用户:ztdm
// 学生管理.cpp : Defines the entry point for the application. // #include "stdafx.h" #include "resource.h" #define MAX_LOADSTRING 100 // Global Variables: HINSTANCE hInst; // current instance TCHAR szTitle[MAX_LOADSTRING]; // The title bar text TCHAR szWindowClass[MAX_LOADSTRING]; // The title bar text // Foward declarations of functions included in this code module: ATOM MyRegisterClass(HINSTANCE hInstance); BOOL InitInstance(HINSTANCE, int); LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); LRESULT CALLBACK About(HWND, UINT, WPARAM, LPARAM); struct person { char name[10]; int ID; int cj_yw; int cj_sx; struct person* next; struct person* pro; }per; int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { // TODO: Place code here. MSG msg; HACCEL hAccelTable; // Initialize global strings LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING); LoadString(hInstance, IDC_MY, szWindowClass, MAX_LOADSTRING); MyRegisterClass(hInstance); // Perform application initialization: if (!InitInstance (hInstance, nCmdShow)) { return FALSE; } hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDC_MY); // Main message loop: while (GetMessage(&msg, NULL, 0, 0)) { if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg)) { TranslateMessage(&msg); DispatchMessage(&msg); } } return msg.wParam; } // // FUNCTION: MyRegisterClass() // // PURPOSE: Registers the window class. // // COMMENTS: // // This function and its usage is only necessary if you want this code // to be compatible with Win32 systems prior to the 'RegisterClassEx' // function that was added to Windows 95. It is important to call this function // so that the application will get 'well formed' small icons associated // with it. // ATOM MyRegisterClass(HINSTANCE hInstance) { WNDCLASSEX wcex; wcex.cbSize = sizeof(WNDCLASSEX); wcex.style = CS_HREDRAW | CS_VREDRAW; wcex.lpfnWndProc = (WNDPROC)WndProc; wcex.cbClsExtra = 0; wcex.cbWndExtra = 0; wcex.hInstance = hInstance; wcex.hIcon = LoadIcon(hInstance, (LPCTSTR)IDI_MY); wcex.hCursor = LoadCursor(NULL, IDC_ARROW); wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); wcex.lpszMenuName = (LPCSTR)IDC_MY; wcex.lpszClassName = szWindowClass; wcex.hIconSm = LoadIcon(wcex.hInstance, (LPCTSTR)IDI_SMALL); return RegisterClassEx(&wcex); } // // FUNCTION: InitInstance(HANDLE, int) // // PURPOSE: Saves instance handle and creates main window // // COMMENTS: // // In this function, we save the instance handle in a global variable and // create and display the main program window. // BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) { HWND hWnd; hInst = hInstance; // Store instance handle in our global variable hWnd = CreateWindow(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL); if (!hWnd) { return FALSE; } ShowWindow(hWnd, nCmdShow); UpdateWindow(hWnd); return TRUE; } // // FUNCTION: WndProc(HWND, unsigned, WORD, LONG) // // PURPOSE: Processes messages for the main window. // // WM_COMMAND - process the application menu // WM_PAINT - Paint the main window // WM_DESTROY - post a quit message and return // // LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { int wmId, wmEvent; PAINTSTRUCT ps; HDC hdc; TCHAR szHello[MAX_LOADSTRING]; LoadString(hInst, IDS_HELLO, szHello, MAX_LOADSTRING); switch (message) { case WM_COMMAND: wmId = LOWORD(wParam); wmEvent = HIWORD(wParam); // Parse the menu selections: switch (wmId) { case IDM_ABOUT: DialogBox(hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, (DLGPROC)About); break; case IDM_EXIT: DestroyWindow(hWnd); break; default: return DefWindowProc(hWnd, message, wParam, lParam); } break; case WM_PAINT: hdc = BeginPaint(hWnd, &ps); // TODO: Add any drawing code here... RECT rt; GetClientRect(hWnd, &rt); DrawText(hdc, szHello, strlen(szHello), &rt, DT_CENTER); EndPaint(hWnd, &ps); break; case WM_DESTROY: PostQuitMessage(0); break; default: return DefWindowProc(hWnd, message, wParam, lParam); } return 0; } // Mesage handler for about box. LRESULT CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) { switch (message) { case WM_INITDIALOG: return TRUE; case WM_COMMAND: if (LOWORD(wParam) == IDOK || LOWORD(wParam) == IDCANCEL) { EndDialog(hDlg, LOWORD(wParam)); return TRUE; } break; } return FALSE; }
上传时间: 2016-12-29
上传用户:767483511