02 2014 档案

摘要:#include "stdafx.h"#include #include #pragma comment(lib, "Shlwapi.lib")int _tmain(){ TCHAR szPath[MAX_PATH]; if(S_OK==SHGetFolderPath(NULL, CSIDL_PERSONAL|CSIDL_FLAG_CREATE, NULL, 0, szPath)) { //PathAppend(szPath, TEXT("New Doc.txt")); //HANDLE hFile = CreateFile(szPa 阅读全文
posted @ 2014-02-28 20:29 godjob 阅读(487) 评论(0) 推荐(0) 编辑
摘要:Download demo project - 15.7 KbContentsIntroductionVirtual listCreating a virtual listAdd items to the listHandling the LVN_GETDISPINFO messageHandling the LVN_ODFINDITEM messageHandling the LVN_ODCACHEHINT messageChanging an itemCheck boxesNotesHistoryIntroductionLet's say you have a large data 阅读全文
posted @ 2014-02-26 10:43 godjob 阅读(421) 评论(0) 推荐(0) 编辑
摘要:http://technet.microsoft.com/zh-CN/sysinternalshttp://technet.microsoft.com/en-us/sysinternals/bb896647我们利用debugView 命令可以自动生成log文件,而且是atomic。cmd -h就可以看到了。用ShellExeccute从codeProject 搜索debugview刚找到一些 http://www.codeproject.com/Articles/13345/DbMon-NET-A-simple-NET-OutputDebugString-capturerhttp://www. 阅读全文
posted @ 2014-02-25 09:53 godjob 阅读(477) 评论(0) 推荐(0) 编辑
摘要:#include "stdafx.h"void dump_machine_info( HANDLE fh ){ CHAR Str[MAX_PATH*3]; CHAR MHzStr[64]; CHAR CpuId[MAX_PATH]; CHAR VendorId[MAX_PATH]; TCHAR RegPath[MAX_PATH]; ULONG i; HKEY hKey; ULONG MHz; DWORD t; ULONG l; MEMORYSTATUS ms ; for(i=0; i<128; i++) { wsprintf(RegPath, _T("HAR 阅读全文
posted @ 2014-02-23 12:03 godjob 阅读(1350) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示