VLD简介 VLD使用 [cpp] view plain copy #include<vld.h> // 包含VLD的头文件 #include<stdlib.h> #include<stdio.h> void f() { int *p = new int(0x12345678); printf("p Read More
posted @ 2016-09-14 03:46 findumars Views(1858) Comments(0) Diggs(0)
[cpp] view plaincopy // 模拟登陆115网盘 #include <afxinet.h> // 包含相关的头文件 /* 用抓包工具抓包可得到需要提交的数据,然后模拟提交即可。 *(有的时候需要得到cookie信息,你可以使用CInternetSession::GetCookie( Read More
posted @ 2016-09-14 03:13 findumars Views(415) Comments(0) Diggs(0)
假设自己通过new创建了一个窗口对象pWnd,然后pWnd->Create。则销毁窗口的调用次序: 1. 手工调用pWnd->DestroyWindow(); 2. DestroyWindow会发送WM_DESTROY; 3. WM_DESTROY对应的消息处理函数是OnDestroy(); 4. Read More
posted @ 2016-09-14 03:11 findumars Views(1274) Comments(0) Diggs(0)
MFC应用程序中处理消息的顺序 1.AfxWndProc() 该函数负责接收消息,找到消息所属的CWnd对象,然后调用AfxCallWndProc 2.AfxCallWndProc() 该函数负责保存消息(保存的内容主要是消息标识符和消息参数)供应用程序以后使用,然后调用WindowProc()函数 Read More
posted @ 2016-09-14 03:10 findumars Views(2406) Comments(0) Diggs(0)
C++ Unicode SBCS 函数对照表,以备日后查阅 Generic SBCS UNICODE TCHAR char wchar_t _TEOF EOF WEOF _TINT int wint_t _TSCHAR signed char wchar_t _TUCHAR unsigned cha Read More
posted @ 2016-09-14 03:09 findumars Views(388) Comments(0) Diggs(0)