上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 61 下一页

2008年7月8日

一个动态数组类

摘要: template class CTArray {//动态数组类 private: UINT nSize; // actual size UINT nGrow; // grow factor protected: UINT nItems; // number of elements (as it appears to the user) ... 阅读全文

posted @ 2008-07-08 21:06 Phinecos(洞庭散人) 阅读(1266) 评论(0) 推荐(0) 编辑

Windows下搭建Subversion 服务器

摘要: Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 一、准备工作 1、获取 Subversion 服务器程序 到官方网站(http://subversion.tigris.org/)下载最新的服务器安装程序。目前最新的是1.5版本,具体下载地址在:http://su... 阅读全文

posted @ 2008-07-08 16:36 Phinecos(洞庭散人) 阅读(13565) 评论(4) 推荐(0) 编辑

2008年7月6日

一个图片加载类

摘要: #include class CImageLoader { protected: /**//// Full path were the images and icons are stored CString m_sPath; /**//// List with all the Bmp found in m_sPath std::vector m_BmpN... 阅读全文

posted @ 2008-07-06 22:17 Phinecos(洞庭散人) 阅读(628) 评论(0) 推荐(0) 编辑

刷新IE收藏夹图标

摘要: 原文链接:FavIconizer 遍历文件夹工具类: class CDirFileList : public CStringArray { public: CDirFileList(); /**//** * fills the array with all files found in the given directory. * \param ... 阅读全文

posted @ 2008-07-06 19:55 Phinecos(洞庭散人) 阅读(1626) 评论(0) 推荐(0) 编辑

IShellLink接口的MFC封装类

摘要: //Class which contains all the parameters related to shortcut class CShellLinkInfo : public CObject { public: //Constructors / Destructors CShellLinkInfo(); CShellLinkInfo(const CShellLinkInfo& sl... 阅读全文

posted @ 2008-07-06 19:46 Phinecos(洞庭散人) 阅读(2460) 评论(0) 推荐(0) 编辑

一些实用的注册表封装类

摘要: 头文件"registry.h" #include #include #include /**//** * \ingroup CommonClasses * Base class for the registry classes. */ class CRegBase { public: //methods /**//** * Removes the whole... 阅读全文

posted @ 2008-07-06 19:31 Phinecos(洞庭散人) 阅读(816) 评论(0) 推荐(0) 编辑

一个线程封装类

摘要: Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->class CThread { public: /**//** * Default Constructor */ CThrea... 阅读全文

posted @ 2008-07-06 18:52 Phinecos(洞庭散人) 阅读(2554) 评论(0) 推荐(0) 编辑

字符串逻辑比较函数---StrCmpLogicalW的模拟实现

摘要: 我们最熟悉的字符串比较函数莫过于strcmp了,但这个函数仅仅是根据字符进行比较,没有考虑字符串的逻辑意义,为此微软为我们提供了一个StrCmpLogicalW函数,它比较数字时不将其视为文本而是视为数值。 我们可以从下列这个简单的字符串数组排序的结果看出这两个函数的区别: 使用StrCmpLogicalW进行比较的结果: 2string 3string 20string st2ring... 阅读全文

posted @ 2008-07-06 16:28 Phinecos(洞庭散人) 阅读(2494) 评论(0) 推荐(0) 编辑

进程间通信之邮槽

摘要: 简介 有时候我们需要一个程序与另一个程序之间进行通信。你可能在多台机器上有多个服务器运行,而在一个中央位置对一个或多个服务器进行远程监控。Windows平台为我们提供了一系列通信方式,从Socket到命名管道,DDE,DCOM,邮槽等。本文中作者将探讨邮槽这一通信机制,假定读者熟悉CreateFile(),ReadFile(),WriteFile()等API函数,此外还假定读者熟悉重叠I/O的... 阅读全文

posted @ 2008-07-06 14:41 Phinecos(洞庭散人) 阅读(1162) 评论(0) 推荐(0) 编辑

2008年7月3日

SpringSide示例之HelloWorld

摘要: Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 SpringSide是个什么东西呢?这么说吧,就是“采众家之长”的一个一站式框架,它吸取了开源界许多优秀组件的精华部分,非常简约的一个东西,具体就不多介绍了,自己可以参考官方文档。 下面来看看运用这个框架实现一个... 阅读全文

posted @ 2008-07-03 16:29 Phinecos(洞庭散人) 阅读(3098) 评论(0) 推荐(0) 编辑

上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 61 下一页

导航