<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[guoquan2003的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/guoquan2003</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; guoquan2003]]></copyright><item><title><![CDATA[DOS，WINDOWS递归删除指定文件夹或文件]]></title><link>https://blog.youkuaiyun.com/guoquan2003/article/details/39437573</link><guid>https://blog.youkuaiyun.com/guoquan2003/article/details/39437573</guid><author>guoquan2003</author><pubDate>Sat, 20 Sep 2014 23:31:43 +0800</pubDate><description><![CDATA[@REM #########################################################  

@REM  Name: 递归删除指定的目录，请把此文件放在你希望执行的那个目录  

@REM  Desciption:   

@REM  Author: amosryan  

@REM  Date: 2010-11-01  

@REM  V]]></description><category></category></item><item><title><![CDATA[list滚动条Scroll 偏移和长度计算公式总结]]></title><link>https://blog.youkuaiyun.com/guoquan2003/article/details/6163277</link><guid>https://blog.youkuaiyun.com/guoquan2003/article/details/6163277</guid><author>guoquan2003</author><pubDate>Tue, 25 Jan 2011 16:01:00 +0800</pubDate><description><![CDATA[<br />list滚动条Scroll 偏移和长度计算公式总结<br />A.计算偏移:<br />偏移/list窗口高度 = 目前总偏移/所有listitem高度总和<br />即：<br />偏移 = (目前总偏移 *  list窗口高度 ) / 所有listitem高度总和<br />B.计算Scroll拇指高度<br />所有listitem高度总和 / list窗口高度 = pageCnt<br />Scroll拇指高度 = list窗口高度 /  pageCnt<br />即：<br />Scr]]></description><category></category></item><item><title><![CDATA[字符串类型ip同数值类型ip转换]]></title><link>https://blog.youkuaiyun.com/guoquan2003/article/details/6080203</link><guid>https://blog.youkuaiyun.com/guoquan2003/article/details/6080203</guid><author>guoquan2003</author><pubDate>Thu, 16 Dec 2010 15:23:00 +0800</pubDate><description><![CDATA[<br /><br />字符串类型ip同数值类型ip转换<br /><br />====char*-->int===<br />char chIP[50] = _T("172.0.0.1");<br />DWORD dwIpAddr =  inet_addr( chIP );<br />====int-->char*===<br />CString strIp = "";<br />DWORD dwIp = 0;<br />in_addr addr;<br />addr.S_un.S_addr = dwIp]]></description><category></category></item><item><title><![CDATA[查找字符串最后一个相匹配的串,不存在返回NULL, 存在返回出现的位置指针]]></title><link>https://blog.youkuaiyun.com/guoquan2003/article/details/6080169</link><guid>https://blog.youkuaiyun.com/guoquan2003/article/details/6080169</guid><author>guoquan2003</author><pubDate>Thu, 16 Dec 2010 15:12:00 +0800</pubDate><description><![CDATA[<br />//查找字符串最后一个相匹配的串,不存在返回NULL, 存在返回出现的位置<br />//s1 目标串  s2 子串<br />char *strRstr( const char *s1, const char *s2 )<br />{<br /> int len2 = 0;<br /> if ( !(len2 = strlen(s2)) )<br /> {<br />  return (char*)s1;<br /> }<br /> char* pcRet = NULL;<br /> size]]></description><category></category></item><item><title><![CDATA[[转发]Invalid allocation size 异常问题点捕获 exceeded 7ffdefff]]></title><link>https://blog.youkuaiyun.com/guoquan2003/article/details/5879294</link><guid>https://blog.youkuaiyun.com/guoquan2003/article/details/5879294</guid><author>guoquan2003</author><pubDate>Sun, 12 Sep 2010 16:32:00 +0800</pubDate><description><![CDATA[<br />HEAP[IEXPLORE.EXE]: Invalid allocation size - 89FF7630 (exceeded 7ffdefff)<br />First-chance exception in IEXPLORE.EXE (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception.<br />Warning: Uncaught exception in WindowProc (returning 0).<br /><br /><br /]]></description><category></category></item><item><title><![CDATA[【转】在Visual C++中检测和隔离内存泄漏]]></title><link>https://blog.youkuaiyun.com/guoquan2003/article/details/5830480</link><guid>https://blog.youkuaiyun.com/guoquan2003/article/details/5830480</guid><author>guoquan2003</author><pubDate>Sun, 22 Aug 2010 18:52:00 +0800</pubDate><description><![CDATA[<br />具有动态的分配和释放内存的能力是C/C++程序语言的重要特色之一。VisualC++ debugger和CRT库提供了一系列有效的检测和鉴定内存泄漏的工具。<br /><br />设置内存泄漏检测<br /><br />　　检测内存泄漏的基本工具是调试器和CRT调试堆函数。为了使用调试堆函数，在你的程序中你必须含有下面的说明：<br /><br />#define _CRTDBG_MAP_ALLOC<br />#include<stdlib.h><br />#include<crtdbg.h><]]></description><category></category></item><item><title><![CDATA[使用GDI+ MeasureString方法计算显示 输入文本的长度]]></title><link>https://blog.youkuaiyun.com/guoquan2003/article/details/5826356</link><guid>https://blog.youkuaiyun.com/guoquan2003/article/details/5826356</guid><author>guoquan2003</author><pubDate>Fri, 20 Aug 2010 13:36:00 +0800</pubDate><description><![CDATA[<br />// stdafx.h : include file for standard system include files,<br />//  or project specific include files that are used frequently, but<br />//      are changed infrequently<br />//<br />#if !defined(AFX_STDAFX_H__660C12D0_6133_459C_B633_7A2DFC9FFD72_]]></description><category></category></item><item><title><![CDATA[计字符串中含有的汉字与非汉字个数]]></title><link>https://blog.youkuaiyun.com/guoquan2003/article/details/5818397</link><guid>https://blog.youkuaiyun.com/guoquan2003/article/details/5818397</guid><author>guoquan2003</author><pubDate>Tue, 17 Aug 2010 15:45:00 +0800</pubDate><description><![CDATA[<br />//----------------------------------------------------------<br />//函 数 名: GetChsAndEngCnt()<br />//功    能: 统计字符串中含有的汉字与非汉字个数<br />//参数说明: [in]  cstrText:要统计的字符串<br />//          [OUT] wChsCnt:汉字个数<br />//   [OUT] wEngCnt:非汉字个数<br /><br />void CUtili]]></description><category></category></item><item><title><![CDATA[利用GetIfTable ，GetIfEntry 实时判断网线插拔状态]]></title><link>https://blog.youkuaiyun.com/guoquan2003/article/details/5818210</link><guid>https://blog.youkuaiyun.com/guoquan2003/article/details/5818210</guid><author>guoquan2003</author><pubDate>Tue, 17 Aug 2010 14:54:00 +0800</pubDate><description><![CDATA[// testlinkDlg.h : header file//#if !defined(AFX_TESTLINKDLG_H__C0EDCF96_BB21_4A9D_B508_23DD96954F30__INCLUDED_)#define AFX_TESTLINKDLG_H__C0EDCF96_BB21_4A9D_B508_23DD96954F30__INCLUDED_#if _MSC_VER > 1000#pragma once#endif // _MSC_VER > 1000//////////////]]></description><category></category></item><item><title><![CDATA[利用GetIfTable ，GetIfEntry 实时判断网线插拔状态]]></title><link>https://blog.youkuaiyun.com/guoquan2003/article/details/5818209</link><guid>https://blog.youkuaiyun.com/guoquan2003/article/details/5818209</guid><author>guoquan2003</author><pubDate>Tue, 17 Aug 2010 14:53:00 +0800</pubDate><description><![CDATA[<br />// testlinkDlg.h : header file<br />//<br />#if !defined(AFX_TESTLINKDLG_H__C0EDCF96_BB21_4A9D_B508_23DD96954F30__INCLUDED_)<br />#define AFX_TESTLINKDLG_H__C0EDCF96_BB21_4A9D_B508_23DD96954F30__INCLUDED_<br />#if _MSC_VER > 1000<br />#pragma once<br]]></description><category></category></item><item><title><![CDATA[常用系统API]]></title><link>https://blog.youkuaiyun.com/guoquan2003/article/details/5818161</link><guid>https://blog.youkuaiyun.com/guoquan2003/article/details/5818161</guid><author>guoquan2003</author><pubDate>Tue, 17 Aug 2010 14:47:00 +0800</pubDate><description><![CDATA[<br />一 键盘<br />1.1 Disabling Low-level Keys<br />#define _WIN32_WINNT 0x0400<br />#include <br />LRESULT CALLBACK LowLevelKeyboardProc(int nCode, <br />           WPARAM wParam, LPARAM lParam) <br />{<br /> BOOL fEatKeystroke = FALSE;<br /> <br /> if (nCo]]></description><category></category></item><item><title><![CDATA[常用系统API]]></title><link>https://blog.youkuaiyun.com/guoquan2003/article/details/5818154</link><guid>https://blog.youkuaiyun.com/guoquan2003/article/details/5818154</guid><author>guoquan2003</author><pubDate>Tue, 17 Aug 2010 14:45:00 +0800</pubDate><description><![CDATA[<br />一 键盘<br />1.1 Disabling Low-level Keys<br />#define _WIN32_WINNT 0x0400<br />#include <br />LRESULT CALLBACK LowLevelKeyboardProc(int nCode, <br />           WPARAM wParam, LPARAM lParam) <br />{<br /> BOOL fEatKeystroke = FALSE;<br /> <br /> if (nCo]]></description><category></category></item><item><title><![CDATA[在程式中对键盘、鼠标、显示器、桌面 操作小结 ]]></title><link>https://blog.youkuaiyun.com/guoquan2003/article/details/5775692</link><guid>https://blog.youkuaiyun.com/guoquan2003/article/details/5775692</guid><author>guoquan2003</author><pubDate>Fri, 30 Jul 2010 10:14:00 +0800</pubDate><description><![CDATA[<br />一 键盘<br />1.1 Disabling Low-level Keys<br />#define _WIN32_WINNT 0x0400<br />#include <br />LRESULT CALLBACK LowLevelKeyboardProc(int nCode, <br />           WPARAM wParam, LPARAM lParam) <br />{<br /> BOOL fEatKeystroke = FALSE;<br /> <br /> if (nCo]]></description><category></category></item><item><title><![CDATA[修改win7 system32目录权限]]></title><link>https://blog.youkuaiyun.com/guoquan2003/article/details/5757932</link><guid>https://blog.youkuaiyun.com/guoquan2003/article/details/5757932</guid><author>guoquan2003</author><pubDate>Fri, 23 Jul 2010 14:58:00 +0800</pubDate><description><![CDATA[<br />首先在C:/Windows/System32/DriverStore/FileRepository上点击右键-属性，我们先来获得这个文件夹的所有权，点安全-高级-所有者，接着点编辑-高级其他用户或组，在输入选择的对象名称里面输入你的用户名，或者点高级-立即查找，选择你的用户名，确定，然后选择替换子容器和对象的所有者，不选择这个的话，我们就只有这个文件夹的所有权，并没有他的子文件夹和里面的文件的所有权，然后应用-确定，这样我们就拥有了这个文件夹的所有权，因为之前这个文件夹的所有权是属于System]]></description><category></category></item><item><title><![CDATA[window查看运行程序的命令行参数]]></title><link>https://blog.youkuaiyun.com/guoquan2003/article/details/5757921</link><guid>https://blog.youkuaiyun.com/guoquan2003/article/details/5757921</guid><author>guoquan2003</author><pubDate>Fri, 23 Jul 2010 14:55:00 +0800</pubDate><description><![CDATA[window查看命令行参数

今天很想知道某个程序被调用后，命令行后跟的参数。此方法可以做很多事，比如你可以查看VC

等调用编译器时后面的参数，以便你将编译器和VC环境剥离开来，比如钟家民的那款《Turbo C/C++ for Windows 集成实验与学习环境》就是知道了命令行参数，然后把编译器继承到自己的IDE中。当然由于编译器编译时间比较短，也就是执行时间比较短，你可以尝试让它编译大程序，然后执行下面我介绍的方法，应该可以得到后面的参数。

我也没试过，所以不敢乱说。呵呵，不过有个方法肯]]></description><category></category></item><item><title><![CDATA[window查看运行程序的命令行参数]]></title><link>https://blog.youkuaiyun.com/guoquan2003/article/details/5757920</link><guid>https://blog.youkuaiyun.com/guoquan2003/article/details/5757920</guid><author>guoquan2003</author><pubDate>Fri, 23 Jul 2010 14:55:00 +0800</pubDate><description><![CDATA[window查看命令行参数

今天很想知道某个程序被调用后，命令行后跟的参数。此方法可以做很多事，比如你可以查看VC

等调用编译器时后面的参数，以便你将编译器和VC环境剥离开来，比如钟家民的那款《Turbo C/C++ for Windows 集成实验与学习环境》就是知道了命令行参数，然后把编译器继承到自己的IDE中。当然由于编译器编译时间比较短，也就是执行时间比较短，你可以尝试让它编译大程序，然后执行下面我介绍的方法，应该可以得到后面的参数。

我也没试过，所以不敢乱说。呵呵，不过有个方法肯]]></description><category></category></item><item><title><![CDATA[Win7 msconfig  GUI启动配置保存位置]]></title><link>https://blog.youkuaiyun.com/guoquan2003/article/details/5757907</link><guid>https://blog.youkuaiyun.com/guoquan2003/article/details/5757907</guid><author>guoquan2003</author><pubDate>Fri, 23 Jul 2010 14:53:00 +0800</pubDate><description><![CDATA[<br />Win7 msconfig  GUI启动配置保存位置 在注册表里面 53f26721-9386-11df-b933-ab6342178484其中不同的机器 这个clsid是不一样的<br /> <br />[HKEY_LOCAL_MACHINE/BCD00000000/Objects/{53f26721-9386-11df-b933-ab6342178484}/Elements/26000041]<br />"Element"=hex:00]]></description><category></category></item><item><title><![CDATA[Win7 & vista 界面美化]]></title><link>https://blog.youkuaiyun.com/guoquan2003/article/details/5757893</link><guid>https://blog.youkuaiyun.com/guoquan2003/article/details/5757893</guid><author>guoquan2003</author><pubDate>Fri, 23 Jul 2010 14:50:00 +0800</pubDate><description><![CDATA[imageres.dll]]></description><category></category></item><item><title><![CDATA[为CListCtrl添加item编辑功能]]></title><link>https://blog.youkuaiyun.com/guoquan2003/article/details/5680084</link><guid>https://blog.youkuaiyun.com/guoquan2003/article/details/5680084</guid><author>guoquan2003</author><pubDate>Sat, 19 Jun 2010 14:47:00 +0800</pubDate><description><![CDATA[<br />1、在dlg窗体添加一个CListCtrl 和一个CEdit<br />2、为此两控件对应绑定两成员变量，如下<br />CListCtrl m_List;<br />CEdit m_cTextEdit;<br />3、在dlg.h头文件添加两似有成员变量<br />private:<br /> int m_nRow;<br /> int m_nCol;<br />4、在oninitdialog初始化化listctrl 和edit<br /> // 设置接收文件列表风格<br /> LONG l]]></description><category></category></item><item><title><![CDATA[Bmp位图图片颜色替换]]></title><link>https://blog.youkuaiyun.com/guoquan2003/article/details/5538183</link><guid>https://blog.youkuaiyun.com/guoquan2003/article/details/5538183</guid><author>guoquan2003</author><pubDate>Wed, 28 Apr 2010 11:38:00 +0800</pubDate><description><![CDATA[ 替换前：void CPicColorDlg::OnButton2() { // TODO: Add your control notification handler code here  // TODO: Add your control notification handler code here CDC* pDC = AfxGetApp()->m_pMainWnd->GetDC()]]></description><category></category></item></channel></rss>