<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[ZHENG017的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/ZHENG017</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; ZHENG017]]></copyright><item><title><![CDATA[faint,今早居然连遇着两个vc2003的bug.]]></title><link>https://blog.csdn.net/ZHENG017/article/details/1888196</link><guid>https://blog.csdn.net/ZHENG017/article/details/1888196</guid><author>ZHENG017</author><pubDate>Fri, 16 Nov 2007 12:08:00 +0800</pubDate><description><![CDATA[1.使用套间线程初始化com环境,再使用cfiledialog对话框,不能正常浏览我的电脑下的文件夹.换成CoInitialize(NULL);就好了.void CTreeCtrlTestDlg::OnBnClickedButton3(){ //CoInitialize(NULL); CoInitializeEx(NULL,COINIT_MULTITHREADED);  CFileDialog]]></description><category></category></item><item><title><![CDATA[音速启动 文件夹保护推断]]></title><link>https://blog.csdn.net/ZHENG017/article/details/1153605</link><guid>https://blog.csdn.net/ZHENG017/article/details/1153605</guid><author>ZHENG017</author><pubDate>Fri, 01 Sep 2006 11:38:00 +0800</pubDate><description><![CDATA[朋友让我看看 音速启动的文件夹保护原理.于是download下来,运行,设置待保护的文件夹,加密.退出程序,然后试图进入该文件夹,弹出输入密码.故意输错.进不了,等等,咋弹出个文件被其他应用程序打开?运行icesword.exe,果然隐藏了一个进程vsenfolder.exe.杀掉,再进入被保护的文件夹,无须再输入密码.其后关机重启,居然被保护的文件夹又提示输入密码了.再运行iceswor]]></description><category></category></item><item><title><![CDATA[2.6内核中网络模块调用入口]]></title><link>https://blog.csdn.net/ZHENG017/article/details/678484</link><guid>https://blog.csdn.net/ZHENG017/article/details/678484</guid><author>ZHENG017</author><pubDate>Wed, 26 Apr 2006 17:46:00 +0800</pubDate><description><![CDATA[刚下了一份2.6.16的kernel,比情景分析中的讲解变得太多了,在/init/main.c中,start_kernel创建了init核心进程后,没找到网络模块的调用入口.???那就反向来吧,找af_inet.c中输出了什么东西让kernel可以调用.呵呵,inet_init,这个是不用怀疑吧,可是用source in sight搜索了整个工程,都没看到调用了inet_init.???在in]]></description><category></category></item><item><title><![CDATA[修改grub.conf防止用single选项破解root口令]]></title><link>https://blog.csdn.net/ZHENG017/article/details/600463</link><guid>https://blog.csdn.net/ZHENG017/article/details/600463</guid><author>ZHENG017</author><pubDate>Thu, 16 Feb 2006 16:40:00 +0800</pubDate><description><![CDATA[用/sbin/grub-md5-crypt生成口令的md5值修改/boot/grub/grub.conf,添加password --md5 刚生成的md5值,随手记下的一东西,不必在意,如果忘了grub的口令,在grub.conf用#注掉添加的行,再重新来,如果grub和root口令全忘了,只好用rescue或把硬盘挂到其他机子了. :)]]></description><category></category></item><item><title><![CDATA[ado访问access数据库技巧两则]]></title><link>https://blog.csdn.net/ZHENG017/article/details/563298</link><guid>https://blog.csdn.net/ZHENG017/article/details/563298</guid><author>ZHENG017</author><pubDate>Tue, 27 Dec 2005 14:49:00 +0800</pubDate><description><![CDATA[1.ado连接当前目录下的mdb数据库连接字符串为"Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info =False;Data Source=.//your.mdb;User Id=admin;Jet OLEDB:Database Password=yourpwd;";2.access中模糊查询的通配符为%%,即两个%号，在access中2]]></description><category></category></item><item><title><![CDATA[一个使用完成端口管理modem池的类]]></title><link>https://blog.csdn.net/ZHENG017/article/details/425475</link><guid>https://blog.csdn.net/ZHENG017/article/details/425475</guid><author>ZHENG017</author><pubDate>Fri, 15 Jul 2005 11:27:00 +0800</pubDate><description><![CDATA[为朋友写的一个管理modem池的类,post到这儿顺便自己有机会才看，不知道n年后再看这段代码会不会痛心...文件smssocket.h#pragma once#include "socketthread.h"class CSmsSocket: public CSocketThread{public: CSmsSocket(void); ~CSmsSocket(void); long StartT]]></description><category></category></item><item><title><![CDATA[一小段利用adox获取表结构主键字段的代码]]></title><link>https://blog.csdn.net/ZHENG017/article/details/417420</link><guid>https://blog.csdn.net/ZHENG017/article/details/417420</guid><author>ZHENG017</author><pubDate>Fri, 08 Jul 2005 14:32:00 +0800</pubDate><description><![CDATA[#import "c:/Program Files/Common Files/system/ado/msadox.dll"    no_namespace#import "c:/Program Files/Common Files/system/ado/msado15.dll"#include int main(){ if(FAILED(::CoInitialize(NULL)))  return]]></description><category></category></item><item><title><![CDATA[使用完成端口的单台服务器最多可连接2500个客户端]]></title><link>https://blog.csdn.net/ZHENG017/article/details/233022</link><guid>https://blog.csdn.net/ZHENG017/article/details/233022</guid><author>ZHENG017</author><pubDate>Wed, 29 Dec 2004 11:28:00 +0800</pubDate><description><![CDATA[最近在做一个完成端口的项目，希望测试一下在普通Win2k Pro下最多可容纳的客户端。众所诸知，当客户connect到server，CreateIoCompletionPort后调用WSARecv等待客户端主动主报的数据。下面就是测试程序，单个客户端程序连接后，不停的调用wsarecv,观察非页面缓冲池的大小，发现到非页面缓冲池为800多K,而循环次数为2500的时候，程序崩溃。wsarecv调用]]></description><category></category></item><item><title><![CDATA[自己写的线控件，可以上方显示标题。]]></title><link>https://blog.csdn.net/ZHENG017/article/details/204463</link><guid>https://blog.csdn.net/ZHENG017/article/details/204463</guid><author>ZHENG017</author><pubDate>Sat, 04 Dec 2004 14:49:00 +0800</pubDate><description><![CDATA[花了两个小时替别人完成了一个线控件，可以上方显示标题。邮件寄着不方便，于是便post到这儿。colorlin.h//made by zheng017#pragma once#include "stdafx.h"#define COLORLINE_CLASSNAME _T("BSColorLine")class ColorLine :public CWnd{public: ColorLine(D]]></description><category></category></item><item><title><![CDATA[hook api的一个自己写的例子]]></title><link>https://blog.csdn.net/ZHENG017/article/details/168887</link><guid>https://blog.csdn.net/ZHENG017/article/details/168887</guid><author>ZHENG017</author><pubDate>Fri, 05 Nov 2004 15:17:00 +0800</pubDate><description><![CDATA[帮同学写了个hook api的例子程序,顺便post到这儿,免得将来到处找.一个简单的console工程,vc6,vc7在win2k pro,server上调试通过.#include #include #include #pragma comment(lib,"Dbghelp.lib")#pragma comment(lib,"User32.lib")typedef int (__stdcall ]]></description><category></category></item><item><title><![CDATA[我的使用createremotethread控制excel右键的源程序]]></title><link>https://blog.csdn.net/ZHENG017/article/details/11204</link><guid>https://blog.csdn.net/ZHENG017/article/details/11204</guid><author>ZHENG017</author><pubDate>Mon, 27 Oct 2003 02:09:00 +0800</pubDate><description><![CDATA[利用CreateRemoteThread将dll写进excel.exe.利用SetWindowLong()改变excel中右键消息。dll源程序：#include BOOL __stdcall DllMain(HANDLE,DWORD,LPVOID){ return TRUE;}/*#pragma data_seg("shared")#pragma data_seg()#pragma comm]]></description><category></category></item><item><title><![CDATA[vc6.0调用excel xp,word 2k]]></title><link>https://blog.csdn.net/ZHENG017/article/details/11203</link><guid>https://blog.csdn.net/ZHENG017/article/details/11203</guid><author>ZHENG017</author><pubDate>Mon, 27 Oct 2003 02:09:00 +0800</pubDate><description><![CDATA[#include #include #pragma warning (disable:4146 4192 4786 4081)#define USE_OFFICEXP 1#ifdef USE_OFFICEXP#import "C:/Program Files/Common Files/Microsoft Shared/Office10/MSO.DLL" #import "c://Program]]></description><category></category></item><item><title><![CDATA[在VC中调用WORD（显示，修改，存盘，运行宏)之三。调用word的各种对话框翻页等。]]></title><link>https://blog.csdn.net/ZHENG017/article/details/11202</link><guid>https://blog.csdn.net/ZHENG017/article/details/11202</guid><author>ZHENG017</author><pubDate>Tue, 25 Sep 2001 16:28:00 +0800</pubDate><description><![CDATA[有了这个，可以替换掉word的菜单了：）也就是说，你可以完全不把word框架显示出来就可以完全实现WORD的功能了。在View菜单中，选ClassWizard,选Automation选项卡,选Add Class,选择From a TypeLibrary, 在Office目录中选中Microsoft Word 97/2000 类型库Word8.olb或Word9.olb，选中Dialog,Dia]]></description><category></category></item><item><title><![CDATA[在VC中调用WORD（显示，修改，存盘，运行宏)之二去掉word的常用，格式工具栏]]></title><link>https://blog.csdn.net/ZHENG017/article/details/11201</link><guid>https://blog.csdn.net/ZHENG017/article/details/11201</guid><author>ZHENG017</author><pubDate>Fri, 21 Sep 2001 14:53:00 +0800</pubDate><description><![CDATA[在VC中调用WORD（显示，修改，存盘，运行宏)之二去掉word的常用，格式工具栏在View菜单中，选ClassWizard,选Automation选项卡,选Add Class,选择From a TypeLibrary, 在Office目录中选中Microsoft Word 97/2000 类型库MSO9.DLL，选中_CommandBars,CommandBar。单击ok在officeV]]></description><category></category></item><item><title><![CDATA[在VC中调用WORD（显示，修改，存盘，运行宏)]]></title><link>https://blog.csdn.net/ZHENG017/article/details/11200</link><guid>https://blog.csdn.net/ZHENG017/article/details/11200</guid><author>ZHENG017</author><pubDate>Fri, 14 Sep 2001 17:06:00 +0800</pubDate><description><![CDATA[（1）使用AppWizard创建一个新的MFC AppWizard(EXE)工程，命名为"office"  （2）选择单文档视图(SDI)结构，在第3步中需要选中Container,以提供容器支持,并且选中active document container 其它都为默认（3）在View菜单中，选ClassWizard,选Automation选项卡,选Add Class,选择From a Typ]]></description><category></category></item></channel></rss>