
VC
rztyfx
这个作者很懒,什么都没留下…
展开
-
如何修改并读取StatusBar的内容
找了好久才解决这个问题,直接sendmessage不好使,必须读写内存才可以! DWORD dwProcessID; HANDLE hProcess; LPVOID lpCommon; int nAllocSize原创 2011-08-08 12:51:19 · 2289 阅读 · 0 评论 -
键盘VK键值列表
键盘VK键值列表 /* Virtual Keys, Standard Set*/ VK_LBUTTON 0x01 VK_RBUTTON 0x02 VK_CANCEL转载 2015-06-14 14:42:39 · 27531 阅读 · 1 评论 -
使用CInternetSession 获取网页内容。。。解决了ReadString时的乱码
CInternetSession session; CHttpFile *file = NULL; CString strURL = _T("http://www.baidu.com"); CString strHtml = _T(""); //存放网页数据 try { file = (CHttpFile*)session.OpenURL(strURL); } catch(CInternetExc转载 2015-09-08 21:13:33 · 2057 阅读 · 0 评论 -
vc int64 数据操作
__int64转换为CString CString..Format(_T("%I64d"), date.GetTime()); 在G++环境下(即Dev C++) 64位整数是 long long 输入输出格式为”%lld”. CString转换为__int64 __int64 iadf; _stscanf(s转载 2015-09-09 09:17:54 · 2205 阅读 · 0 评论 -
低版VC迁移到高版,各种问题
开发平台由VC6.0升级至VS2005以上的版本,需要将原有的项目迁移,可能碰到类似错误: 错误 C2440 “static_cast”: 无法从“void (__thiscall CMainFrame::* )(WPARAM,LPARAM)”转换为“LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM) VS2005之后的版本对消息的检查更为严格,以前在VC...转载 2019-08-25 21:28:40 · 400 阅读 · 0 评论