??xml version="1.0" encoding="utf-8" standalone="yes"?>久久无码人妻一区二区三区午夜,久久久久久国产精品美女 ,精品久久久久久无码中文野结衣http://www.shnenglu.com/eastsong/At first, you may struggle to understand how to do each pratice. They may look easy on paper, but putting some practices into action may be difficult. Keep practicing until they're easy.zh-cnThu, 08 May 2025 15:41:32 GMTThu, 08 May 2025 15:41:32 GMT60DriveBrowsinghttp://www.shnenglu.com/eastsong/archive/2008/12/22/70018.htmleastsongeastsongSun, 21 Dec 2008 16:21:00 GMThttp://www.shnenglu.com/eastsong/archive/2008/12/22/70018.htmlhttp://www.shnenglu.com/eastsong/comments/70018.htmlhttp://www.shnenglu.com/eastsong/archive/2008/12/22/70018.html#Feedback0http://www.shnenglu.com/eastsong/comments/commentRss/70018.htmlhttp://www.shnenglu.com/eastsong/services/trackbacks/70018.html
创徏ImageList 16 * 16的, 8Ԍ初始化ؓ9个,增长频率?
m_pImageList.Create(16, 16, ILC_COLOR8 | ILC_MASK,  9, 9);
向ImageList中添加Icon
m_pImageList.Add(pApp->LoadIcon(ICO_CDDRV));
m_pImageList.Add(pApp->LoadIcon(ICO_CLSDFLD));
m_pImageList.Add(pApp->LoadIcon(ICO_DRIVE));
m_pImageList.Add(pApp->LoadIcon(ICO_FLOPPYDRV));
m_pImageList.Add(pApp->LoadIcon(ICO_MYCOMP));
m_pImageList.Add(pApp->LoadIcon(ICO_OPENFLD));
m_pImageList.Add(pApp->LoadIcon(ICO_TEXTFILE));
向TreeCtrldImageList
GetTreeCtrl().SetImageList(&m_pImageList , TVSIL_NORMAL);

GetLogicalDrives Function

Retrieves a bitmask representing the currently available disk drives.

 

DWORD WINAPI GetLogicalDrives(void);


GetDriveType Function

 

Determines whether a disk drive is a removable, fixed, CD-ROM, RAM disk, or network drive.

To determine whether a drive is a USB-type drive, call SetupDiGetDeviceRegistryProperty and specify the SPDRP_REMOVAL_POLICY property.

 

UINT WINAPI GetDriveType(
  __in          LPCTSTR lpRootPathName
);



eastsong 2008-12-22 00:21 发表评论
]]>
MCIhttp://www.shnenglu.com/eastsong/archive/2008/12/20/69959.htmleastsongeastsongSat, 20 Dec 2008 15:43:00 GMThttp://www.shnenglu.com/eastsong/archive/2008/12/20/69959.htmlhttp://www.shnenglu.com/eastsong/comments/69959.htmlhttp://www.shnenglu.com/eastsong/archive/2008/12/20/69959.html#Feedback0http://www.shnenglu.com/eastsong/comments/commentRss/69959.htmlhttp://www.shnenglu.com/eastsong/services/trackbacks/69959.htmlmciSendString

The mciSendString function sends a command string to an MCI device. The device that the command is sent to is specified in the command string

mciSendString("set cdaudio door open",NULL,0,0);

mciSendString("set cdaudio door closed",NULL,0,0);

MCI

The Media Control Interface (MCI) provides standard commands for playing multimedia devices and recording multimedia resource files. These commands are a generic interface to nearly every kind of multimedia device. 


NOTIFYICONDATA Structure  产生cM托盘的效?/h1>

Contains information that the system needs to process taskbar status area messages.



eastsong 2008-12-20 23:43 发表评论
]]>昄pȝ中所有进E?/title><link>http://www.shnenglu.com/eastsong/archive/2008/12/20/69952.html</link><dc:creator>eastsong</dc:creator><author>eastsong</author><pubDate>Sat, 20 Dec 2008 15:13:00 GMT</pubDate><guid>http://www.shnenglu.com/eastsong/archive/2008/12/20/69952.html</guid><wfw:comment>http://www.shnenglu.com/eastsong/comments/69952.html</wfw:comment><comments>http://www.shnenglu.com/eastsong/archive/2008/12/20/69952.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/eastsong/comments/commentRss/69952.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/eastsong/services/trackbacks/69952.html</trackback:ping><description><![CDATA[CreateToolhelp32Snapshot Q对pȝ中的q程“拍照”<div>Takes a snapshot of the specified processes, as well as the heaps, modules, and threads used by these processes.<div><p> </p><pre class="syntax" xml:space="preserve">HANDLE WINAPI CreateToolhelp32Snapshot( __in DWORD <em><a class="synParam" onclick="showTip(this)" href="ms-help://ms.vscc.v90/MS.MSDNQTR.v90.en/dllproc/base/createtoolhelp32snapshot.htm">dwFlags</a></em>, __in DWORD <em><a class="synParam" onclick="showTip(this)" href="ms-help://ms.vscc.v90/MS.MSDNQTR.v90.en/dllproc/base/createtoolhelp32snapshot.htm">th32ProcessID</a></em> ); </pre><pre class="syntax" xml:space="preserve"><pre class="syntax" xml:space="preserve">Process32First : 枚DW一个进E?/pre></pre><pre class="syntax" xml:space="preserve"><p>Retrieves information about the first process encountered in a system snapshot.</p> <p> </p><pre class="syntax" xml:space="preserve">BOOL WINAPI Process32First( __in HANDLE <em><a class="synParam" onclick="showTip(this)" href="ms-help://ms.vscc.v90/MS.MSDNQTR.v90.en/dllproc/base/process32first.htm">hSnapshot</a></em>, __in_out LPPROCESSENTRY32 <em><a class="synParam" onclick="showTip(this)" href="ms-help://ms.vscc.v90/MS.MSDNQTR.v90.en/dllproc/base/process32first.htm">lppe</a></em> ); </pre><pre class="syntax" xml:space="preserve"><br></pre><pre class="syntax" xml:space="preserve">Process32Next : 递归枚D随后的进E?br></pre><pre class="syntax" xml:space="preserve"><p>Retrieves information about the next process recorded in a system snapshot.</p> <p> </p><pre class="syntax" xml:space="preserve">BOOL WINAPI Process32Next( __in HANDLE <em><a class="synParam" onclick="showTip(this)" href="ms-help://ms.vscc.v90/MS.MSDNQTR.v90.en/dllproc/base/process32next.htm">hSnapshot</a></em>, __out LPPROCESSENTRY32 <em><a class="synParam" onclick="showTip(this)" href="ms-help://ms.vscc.v90/MS.MSDNQTR.v90.en/dllproc/base/process32next.htm">lppe</a></em> ); </pre></pre></pre></div></div><img src ="http://www.shnenglu.com/eastsong/aggbug/69952.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/eastsong/" target="_blank">eastsong</a> 2008-12-20 23:13 <a href="http://www.shnenglu.com/eastsong/archive/2008/12/20/69952.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>AOPhttp://www.shnenglu.com/eastsong/archive/2008/12/20/69946.htmleastsongeastsongSat, 20 Dec 2008 14:47:00 GMThttp://www.shnenglu.com/eastsong/archive/2008/12/20/69946.htmlhttp://www.shnenglu.com/eastsong/comments/69946.htmlhttp://www.shnenglu.com/eastsong/archive/2008/12/20/69946.html#Feedback0http://www.shnenglu.com/eastsong/comments/commentRss/69946.htmlhttp://www.shnenglu.com/eastsong/services/trackbacks/69946.html分散x
通用需求功能从不相关类之中分离出来Q同Ӟ能够使得很多cd享一个行为,一旦行为发生变化,不必修改很多c,只要修改q个行就可以啦?/div>
Aop是q种实现分散x的编E方法,它将“x”装?#8220;斚w”中?/div>
AOP是OOP的gl,是Aspect Oriented Programming 的羃写,意思是面向斚w~程。AOP是GOF设计模式的gl,设计模式孜孜不倦追求的是调用者和被调用者之间的解耦,AOP可以说也是这U目标的一中实现?/div>

举例Q假设有在一个应用系l中Q有一个共享的数据必须被ƈ发同时访问,首先Q将q个数据装在数据对象中Q称为Data ClassQ同Ӟ有多个讉Kc,专门用于在同一时刻讉Kq同一个数据对象?/p>

  Z完成上述q发讉K同一资源的功能,需要引入锁Lock的概念,也就是说Q某个时刻,当有一个访问类讉Kq个数据对象Ӟq个数据对象必须上锁LockedQ用完后q卌锁unLockedQ再供其它访问类讉K?/p>

  使用传统的编E习惯,我们会创Z个抽象类Q所有的讉Kcȝ承这个抽象父c,如下Q?/p>

abstract class Worker{

  abstract void locked();
  abstract void accessDataObject();
  abstract void unlocked();

}


  ~点Q?ul style="font-size: 14px; color: rgb(0, 0, 0); list-style-type: square; ">
  • accessDataObject()Ҏ需要有“?#8221;状态之cȝ相关代码?/li>
  • Java只提供了单承,因此具体讉Kcd能承这个父c,如果具体讉Kc还要承其它父c,比如另外一个如Worker的父c,无法方便实现?/li>
  • 重用被打折扣Q具体访问类因ؓ也包?#8220;?#8221;状态之cȝ相关代码Q只能被重用在相x“?#8221;的场合,重用范围很窄?br>
    仔细研究q个应用?#8220;?#8221;Q它其实有下列特性:
  • “?#8221;功能不是具体讉Kcȝ首要或主要功能,讉KcM要功能是讉K数据对象Q例如读取数据或更改动作?/li>
  • “?#8221;行ؓ其实是和具体讉Kcȝ主要功能可以独立、区分开来的?/li>
  • “?#8221;功能其实是这个系l的一个纵向切面,涉及许多cR许多类的方法。如下图Q?br> 
  •   因此Q一个新的程序结构应该是xpȝ的纵向切面,例如q个应用?#8220;?#8221;功能Q这个新的程序结构就是aspectQ方面)

      在这个应用中Q?#8220;?#8221;斚wQaspectQ应该有以下职责Q?/p>

      提供一些必备的功能Q对被访问对象实现加锁或解锁功能。以保证所有在修改数据对象的操作之前能够调用lock()加锁Q在它用完成后Q调用unlock()解锁?/p>

    AOP应用范围

      很明显,AOP非常适合开发J2EE容器服务器,目前JBoss 4.0正是使用AOP框架q行开发?br>  具体功能如下Q?br>Authentication 权限
    Caching ~存
    Context passing 内容传?br>Error handling 错误处理
    Lazy loading 懒加?br>Debugging  调试
    logging, tracing, profiling and monitoring 记录跟踪 优化 校准
    Performance optimization 性能优化
    Persistence  持久?br>Resource pooling 资源?br>Synchronization 同步
    Transactions 事务

    AOP有必要吗Q?/strong>

      当然Q上q应用范例在没有使用AOP情况下,也得C解决Q例如JBoss 3.XXX也提供了上述应用功能Q但是没有用AOP?/p>

      但是Q用AOP可以让我们从一个更高的抽象概念来理解Y件系l,AOP也许提供一U有价值的工具。可以这么说Q因Z用AOPl构Q现在JBoss 4.0的源码要比JBoss 3.XҎ理解多了Q这对于一个大型复杂系l来说是非常重要的?/p>

      从另外一个方面说Q好像不是所有的人都需要关心AOPQ它可能是一U架构设计的选择Q如果选择J2EEpȝQAOPx的上q通用斚w都已l被J2EE容器实现了,J2EE应用pȝ开发者可能需要更多地x行业应用斚waspect?/p>



    eastsong 2008-12-20 22:47 发表评论
    ]]>软g能力成熟度模?/title><link>http://www.shnenglu.com/eastsong/archive/2008/12/17/69658.html</link><dc:creator>eastsong</dc:creator><author>eastsong</author><pubDate>Wed, 17 Dec 2008 09:43:00 GMT</pubDate><guid>http://www.shnenglu.com/eastsong/archive/2008/12/17/69658.html</guid><wfw:comment>http://www.shnenglu.com/eastsong/comments/69658.html</wfw:comment><comments>http://www.shnenglu.com/eastsong/archive/2008/12/17/69658.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/eastsong/comments/commentRss/69658.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/eastsong/services/trackbacks/69658.html</trackback:ping><description><![CDATA[一 基本概念<br><br>软gq程QSoftware ProcessQ?br>软gq程可定义ؓ企业设计Q研制和l护软g产品及相兌料文档的全部?br>产活动和工程理zd?br><br>软gq程能力QSoftware Process CapablilityQ?br>企业实施软gq程所能实现预期目标的E度。它可用于预企业的软gq程水^?br><br>软gq程行ؓQSoftware Process PerformanceQ?br>企业在项目开发中遵@软gq程所能得到的实际l果?br><br>软gq程成熟度(Software Process MaturityQ?br>软gq程行ؓ可被定义Q预和控制q持l行提高的程度。它主要用来表明不同目所遵@的Y件过E的一致性?br><br>软g能力成熟度等U(Software Capablility Maturity levelsQ?br>企业的Y件开发在׃到高成熟化演q过E中所普遍面的具有一定成熟度特征的^台?br><br>成熟与不成熟QMature and ImmatureQ?br>不成熟的标志?  没有明确的Y件过E体pd以依据,无法对生产进行预;不严格执行生产过E;质量无法保证Q无健全的过E控制及质量控制体系Q项目开发没有准则可遵@Q开发结果主要依据项目小l及个h的带有主观因素的能力发挥?br>成熟的标志有-目开发是依据企业早已明确的过E准则来实施Q开发结果较的依赖个h能力和自然因素;目pE控制ƈ可对整个生作出预测Q品质量得到有效的监控Q)Q过ȝ开发项目中所L验得以积累ƈ可系l地用于现行和未来的目之中?br><br>配置理QConfiguration ManagementQ?br>包括以下理行ؓQ?Ҏ个配|项的功能和物理Ҏ进行识别和~档Q对q些特征的变动进行控Ӟ对变动和事实q行记录、汇报;验证需求计划的实现?br><br>偏差QDeviationQ?br>针对开发中的计划、标准、规划等的明昑ցd变动?br><br>同业复审QPeer ReviewQ?br>软g目开发成员的同行遵@某一规则寚w目品所作的查,用于发现~陷所在?br><br>风险理QRisk ManagementQ?br>q用风险概率Ҏ分析评估目开发设计中的各c风险,包括风险识别Q风险分析,风险{排序和风险控制?br><br>软g工程q程l(Software Engineering Process GroupQ?br>协助开发机构对所采纳的Y件过E进行制定、分析、监控和改进的专家组?br>它应该直接向机构的最高领导层负责?br><br>软g生命周期QSoftware Life CycleQ?br>指Y件开发所涉及的全q程Q包括从产品设计C品终l的整个周期Q一般分为概念阶D,需求阶D,设计阶段Q实施阶D,试阶段Q安装调试阶D,q行l护阶段Q终止阶Dc?br><br>软g需求(Software RequirementQ?br>用户为实现某U目标或者解xU问题要求Y件给予满的条g?br> <img src ="http://www.shnenglu.com/eastsong/aggbug/69658.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/eastsong/" target="_blank">eastsong</a> 2008-12-17 17:43 <a href="http://www.shnenglu.com/eastsong/archive/2008/12/17/69658.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Intrusion detection systemhttp://www.shnenglu.com/eastsong/archive/2008/12/16/69608.htmleastsongeastsongTue, 16 Dec 2008 14:52:00 GMThttp://www.shnenglu.com/eastsong/archive/2008/12/16/69608.html

    eastsong 2008-12-16 22:52 发表评论
    ]]>
    Design Pattern - Chapter One 单工厂模?/title><link>http://www.shnenglu.com/eastsong/archive/2008/11/03/65871.html</link><dc:creator>eastsong</dc:creator><author>eastsong</author><pubDate>Mon, 03 Nov 2008 11:44:00 GMT</pubDate><guid>http://www.shnenglu.com/eastsong/archive/2008/11/03/65871.html</guid><wfw:comment>http://www.shnenglu.com/eastsong/comments/65871.html</wfw:comment><comments>http://www.shnenglu.com/eastsong/archive/2008/11/03/65871.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/eastsong/comments/commentRss/65871.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/eastsong/services/trackbacks/65871.html</trackback:ping><description><![CDATA[单工厂: 用一个单独的cL做创造实例的q程Q就是工厂?br><br>优点Q在于工厂类中包含了必要的逻辑判断Q根据客L的选择条g动态实例化相关的类Q对于客L来说Q去除了与具体品的依赖?br><br>例子Q实现计器代码<br><br>1 计算和显C分开<br>2 灉|C改和扩展Q开攑ְ闭原则)<br>3 单一原则Q加减乘除各个自成一c)<br><br>/**<br>*    File    : IOperation.h<br>*    Author    : Eastsong<br>*    Date    : 11/3/2008<br>*    Function: interface of operation<br>*/<br><br>#if !defined _IOPERATION_H_<br>#define _IOPERATION_H_<br><br>class IOperation<br>{<br>public:<br>    IOperation(double _doubleA = 0, double _doubleB = 0);<br>    virtual ~IOperation(){};<br>    <br>    virtual double Execute() = 0;<br><br>    void SetA(double _doubleA);<br>    double GetA();<br><br>    void SetB(double _doubleB);<br>    double GetB();<br><br>protected:<br>private:<br>    double m_doubleA;<br>    double m_doubleB;<br><br>};<br><br>#endif<br><br>/**<br>*    File    : IOperation.cpp<br>*    Author    : Eastong<br>*    Date    : 11/3/2008<br>*    Function: the realization of IOperation<br>*/<br><br>#include "IOperation.h"<br><br><br>IOperation::IOperation(double _doubleA /* = 0 */, double _doubleB /* = 0 */)<br>{<br>    m_doubleA = _doubleA;<br>    m_doubleB = _doubleB;<br>}<br><br>void IOperation::SetA(double _doubleA)<br>{<br>    m_doubleA = _doubleA;<br>}<br>double IOperation::GetA()<br>{<br>    return m_doubleA;<br>}<br><br>void IOperation::SetB(double _doubleB)<br>{<br>    m_doubleB = _doubleB;<br>}<br><br>double IOperation::GetB()<br>{<br>    return m_doubleB;<br>}<br><br>/**<br>*    File    : CAdd.h<br>*    Author    : Eastsong<br>*    Date    : 11/3/2008<br>*    Function: the declaration of Add operation<br>*/<br>#if !defined _CADD_H_<br>#define _CADD_H_<br><br>#include "IOperation.h"<br><br>class CAdd : public IOperation<br>{<br>public:<br>    virtual double Execute();<br>protected:<br>private:<br>};<br><br>#endif<br><br>/**<br>*    File    : CAdd.cpp<br>*    Author    : Eastsong<br>*    Date    : 11/3/2008<br>*    Function: the realization of Add operation<br>*/<br><br>#include "CAdd.h"<br><br>double CAdd::Execute()<br>{<br>    return GetA() + GetB();<br>}<br><br>/**<br>*    File    : CSub.h<br>*    Author    : Eastsong<br>*    Date    : 11/3/2008<br>*    Function: the declaration of sub operation<br>*/<br>#if !defined _CSUB_H_<br>#define  _CSUB_H_<br><br>#include "IOperation.h"<br><br>class CSub : public IOperation<br>{<br>public:<br>    virtual double Execute();<br>protected:<br>private:<br>};<br><br>#endif<br><br>/**<br>*    File    : CSub.h<br>*    Author    : Eastsong<br>*    Date    : 11/3/2008<br>*    Function: the realization of sub operation<br>*/<br><br>#include "CSub.h"<br><br>double CSub::Execute()<br>{<br>    return GetA() - GetB();<br>}<br><br>/**<br>*    File    : CMul.h<br>*    Author  : Eastsong<br>*    Date    : 11/3/2008<br>*    Function: the declaration of mul operation<br>*/<br>#if !defined _CMUL_H_<br>#define  _CMUL_H_<br><br>#include "IOperation.h"<br><br>class CMul : public IOperation<br>{<br>public:<br>    virtual double Execute();<br>protected:<br>private:<br>};<br><br>#endif<br>/**<br>*    File    : CMul.cpp<br>*    Author  : Eastsong<br>*    Date    : 11/3/2008<br>*    Function: the realization of mul operation<br>*/<br>#include "CMul.h"<br><br>double CMul::Execute()<br>{<br>    return GetA() * GetB();<br>}<br><br>/**<br>*    File    : CDiv.h<br>*    Author  : Eastsong<br>*    Date    : 11/3/2008<br>*    Function: the declaration of div operation<br>*/<br>#if !defined _CDIV_H_<br>#define _CDIV_H_<br><br>#include "IOperation.h"<br><br>class CDiv : public IOperation<br>{<br>public:<br>    virtual double Execute();<br>protected:<br>private:<br>};<br><br>#endif<br><br>/**<br>*    File    : CDiv.cpp<br>*    Author    : Eastsong<br>*    Date    : 11/3/2008<br>*    Function: the realization of div operation<br>*/<br>#include "CDiv.h"<br><br>double CDiv::Execute()<br>{<br>    if (0 != GetB())<br>    {<br>        return GetA() / GetB();<br>    }<br>    else<br>    {<br>        /**<br>        * I do not know how to throw the exception using c++<br>        */<br>        //throw Exception();<br><br>        return 0;<br>    }<br>}<br><br>/**<br>*    File    : OperationFactory.h<br>*    Author    : Eastsong<br>*    Date    : 11/3/2008<br>*    Function: factory of create operation object<br>*/<br><br>#if !defined _OPERATION_FACTORY_H_<br>#define _OPERATION_FACTORY_H_<br><br>#include "IOperation.h"<br><br>class OperationFactory<br>{<br>public:<br>    static IOperation * CreateOperation(char  op);<br>protected:<br>private:<br>};<br><br>#endif<br><br>/**<br>*    File    : OperationFactory.cpp<br>*    Author    : Eastsong<br>*    Date    : 11/3/2008<br>*    Function: factory of create operation object<br>*/<br><br>#include "OperationFactory.h"<br>#include "CAdd.h"<br>#include "CSub.h"<br>#include "CMul.h"<br>#include "CDiv.h"<br><br>IOperation * OperationFactory::CreateOperation( char op)<br>{<br>    IOperation * operation = 0;<br><br>    switch(op)<br>    {<br>    case '+' :<br>        operation = new CAdd();<br>        break;<br>    case '-':<br>        operation = new CSub();<br>        break;<br>    case '*':<br>        operation = new CMul();<br>        break;<br>    case '/':<br>        operation = new CDiv();<br>        break;<br>    <br>    default:<br>    <br>        break;<br>    }<br><br>    return operation;<br>}<br><br><img src ="http://www.shnenglu.com/eastsong/aggbug/65871.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/eastsong/" target="_blank">eastsong</a> 2008-11-03 19:44 <a href="http://www.shnenglu.com/eastsong/archive/2008/11/03/65871.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>转: 史上最牛夫ȝzd?/title><link>http://www.shnenglu.com/eastsong/archive/2008/11/02/65744.html</link><dc:creator>eastsong</dc:creator><author>eastsong</author><pubDate>Sun, 02 Nov 2008 03:53:00 GMT</pubDate><guid>http://www.shnenglu.com/eastsong/archive/2008/11/02/65744.html</guid><wfw:comment>http://www.shnenglu.com/eastsong/comments/65744.html</wfw:comment><comments>http://www.shnenglu.com/eastsong/archive/2008/11/02/65744.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.shnenglu.com/eastsong/comments/commentRss/65744.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/eastsong/services/trackbacks/65744.html</trackback:ping><description><![CDATA[ 史上最牛夫ȝzd?br>  1.吉|不当着父母Q亲戚,d的面吵,在公共场所l对斚w子?br> <br>  2.不管谁对谁错Q只要一吉|Q男方必ddL哄女方一ơ,x才能马上冷静下来Q否则女方一看到h哇啦哇啦x也忍不住哇啦哇啦Q一旦造成严重后果Q全部由h负责?br> <br>  3.在家里吵架不准一C之,实在要走不得走出区Q不怸带手机和x?br> <br>  4.敬Ҏ的父母长辈,吉|不开心不能对父母无礼?br> <br>  5.有错一方要d道歉Q无错一方在有错斚w歉ƈ补偿后要快原谅Ҏ?br><br> <br>  6.双方都有错时要互相检讨,认识到错误ƈ道歉后由hd提出带女方出L心?br> <br>  7.要出气不准砸东西Q只能吃东西Q实在手痒只能砸枕头?br> <br>  8.吉|量不隔夜,晚上睡觉时男方必M动抱xQ女方生气百般推让男方也不能此攑ּQ一定要哄到x睡着Q做上美梦。。?br><br> <br>  9.每周都要l对Ҏ摩一ơ,因ؓ大家l常吉|都很辛苦Q男ҎZ好的话可以跟盲h师傅学,严禁和发廊女学!<br> <br>  10.吉|时男方不准挂电话Q如果挂了要马上打回去,q表C歉意,吉|时女方如果挂了电话,h必须?分钟内打l女方,电话不通打手机QM不能气绥Q屡挂屡打,但是x也要l男斚w子,每次挂电话次C大于5ơ?br><br>Q公U条ƾ暂时ؓ以上q几条,可由x无理由无旉限制的更改,h有权利提出异议,但是异议是否被采Uxl解释权在女Ҏ里)<br>                             <br><img src ="http://www.shnenglu.com/eastsong/aggbug/65744.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/eastsong/" target="_blank">eastsong</a> 2008-11-02 11:53 <a href="http://www.shnenglu.com/eastsong/archive/2008/11/02/65744.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Design Patternhttp://www.shnenglu.com/eastsong/archive/2008/10/31/65629.htmleastsongeastsongFri, 31 Oct 2008 08:18:00 GMThttp://www.shnenglu.com/eastsong/archive/2008/10/31/65629.htmlhttp://www.shnenglu.com/eastsong/comments/65629.htmlhttp://www.shnenglu.com/eastsong/archive/2008/10/31/65629.html#Feedback0http://www.shnenglu.com/eastsong/comments/commentRss/65629.htmlhttp://www.shnenglu.com/eastsong/services/trackbacks/65629.html大话设计模式基本늛了目前流行的大部分设计模式,现在脑子里能惌v来的有:
    单工厂、策略模式、工厂模式、桥接模式、n元模式、模ѝ观察者、单键模式、抽象、代理、指D、命?br>其中里面q讲C些设计原则,如:DSP、LSP、OCP{?br>在项目设计中Q我也尝试去应用了里面的一些模式,遇到问题Q就比较着看和大话模式里那U比较相|应用上了?br>到底如何才是真正理解设计模式了呢Q有的时候我是很p涂?br>


    eastsong 2008-10-31 16:18 发表评论
    ]]>
    Z做g有成q?/title><link>http://www.shnenglu.com/eastsong/archive/2008/10/30/65553.html</link><dc:creator>eastsong</dc:creator><author>eastsong</author><pubDate>Thu, 30 Oct 2008 05:15:00 GMT</pubDate><guid>http://www.shnenglu.com/eastsong/archive/2008/10/30/65553.html</guid><wfw:comment>http://www.shnenglu.com/eastsong/comments/65553.html</wfw:comment><comments>http://www.shnenglu.com/eastsong/archive/2008/10/30/65553.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.shnenglu.com/eastsong/comments/commentRss/65553.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/eastsong/services/trackbacks/65553.html</trackback:ping><description><![CDATA[昨天d了超囄校园宣讲会,无非都是宣扬些本公司的现Ӟ未来的发展,以及招聘人员来到本公司后的待遇等{。我没太自己xq些Q大部分旉是在看新买的Multithreading Appinlication in WindowsQ最q很q书。不q宣讲h说了句话Q让我印象很是深刻,他说Q时不时p做些有成q事,否则旉长了Qh都会颓废的,原话不是q么说的Q大意而已。我觉得q句话很有道理,在学校这么长旉Q从来没觉得什么事让自己感觉很有成;工作了这么久也是一P天天想着完成d好Q从来没惌应该前完成点Q务。大部分仅仅是ؓ了维持生zȝӞ得过且过而已。时间长了,反而觉得很是无聊,没有什么新意?br>受这句话的启发,我决定今天就该做Ҏ成就感的事情Q把前两天拖拉的工作完成了。其实Q务说h很简单:目在开发中用到了sqlite3.dllQ不q在引用q个dllӞ目中用的是在project、setting 中设|的方式Q(dll调用分两U,不清楚这U调用是隐式的还是显C的Q没分清Q,所以项目程序只有在sqlite3.dll 存在的情况下Q才可以q行Q否则运行不hQ会报错?目中我的Q务是做升U程序Updater.exeQ在升E序中也需要升U数据库Q因此也使用了sqlite3.dllQ也是按的前面的调用方式。这U调用方式带来的弊端是updater.exe在升U主E序Ӟ可能会出现问题,sqlite3.dll的升U可能失败(正在被updater.exe使用Q。我曾想试着按另外一U方式调用sqlite3.dll导出的函敎ͼ但终I觉得导出函数的方式很复杂,而且sqlite3的导出函数封装的不好Q写h很费Ԍq之前由于sqlite3.h 装不好Q我们项目组一直引用它的一个封装类CppSqlite3Q?br>如果按着sqlite3 导出函数QLoadLibraryQFreeLibraryQ这U方式来做的话,问题来了Q?br>1 导出函数的指针必L?br>2 以前写的代码引用到CppSqlite3 的最好不要媄响到<br><br>想了很久Q终于我惛_一个方法来解决q个问题Q遂开始实施(后面在描q解册E吧Q,可是׃导出函数太多Q写的我都快吐血了,一直到了早上五点,q没全部弄完Q实在是坚持不住了,想赶紧睡会吧,一会还得上班呢。遂倒头睡去Q没成想在睁开眼睛Ӟ已是8点多了?br><br><br><br><img src ="http://www.shnenglu.com/eastsong/aggbug/65553.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/eastsong/" target="_blank">eastsong</a> 2008-10-30 13:15 <a href="http://www.shnenglu.com/eastsong/archive/2008/10/30/65553.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>лǵվܻԴȤ</p> <a href="http://www.shnenglu.com/" title="精品视频久久久久">精品视频久久久久</a> <div class="friend-links"> </div> </div> </footer> <a href="http://www.010law.cn" target="_blank">þĻƷ</a>| <a href="http://www.pc36.cn" target="_blank">AVþþƷ</a>| <a href="http://www.hlccbxw.cn" target="_blank">91þþþþۺ</a>| <a href="http://www.awcy.cn" target="_blank">þAv뾫Ʒϵ</a>| <a href="http://www.liuqianqian.cn" target="_blank">پþþƷþ</a>| <a href="http://www.lwtjf.cn" target="_blank">ھƷŷþþƷ</a>| <a href="http://www.mllp.net.cn" target="_blank">˾þþAV츾ɫ</a>| <a href="http://www.zhantu520.cn" target="_blank">Ʒ޾þþþþ</a>| <a href="http://www.caster.org.cn" target="_blank">þľƷĻ</a>| <a href="http://www.gbtu.cn" target="_blank">Ʒþþþþþ</a>| <a href="http://www.ejyp.cn" target="_blank">޹ƷۺϾþ </a>| <a href="http://www.bbs0310.cn" target="_blank">Ʒݾþþþø99 </a>| <a href="http://www.zhaopf.com.cn" target="_blank">ݺɫþþۺ</a>| <a href="http://www.lnboxue.cn" target="_blank">þ㽶߿ۿ</a>| <a href="http://www.jblw.net.cn" target="_blank">˾þۺϳ</a>| <a href="http://www.thenorthface.net.cn" target="_blank">Ʒ91þþþþþ</a>| <a href="http://www.rqhsjc.cn" target="_blank">ŷպþþƷһ</a>| <a href="http://www.anfuwang.cn" target="_blank">Ʒþ޲</a>| <a href="http://www.00dh.cn" target="_blank">޾Ʒھþ</a>| <a href="http://www.07ww.cn" target="_blank">777þþƷһ</a>| <a href="http://www.annean.cn" target="_blank">ɫۺϾþ֮ۺϾþ</a>| <a href="http://www.pgt.net.cn" target="_blank">޾Ʒ99þ</a>| <a href="http://www.h8uq0.cn" target="_blank">þ㽶97Ʒ</a>| <a href="http://www.23d6.cn" target="_blank">ɫۺϾþþĻ</a>| <a href="http://www.wwcx.com.cn" target="_blank">þ996ȾƷxxxx</a>| <a href="http://www.modellesson.cn" target="_blank">91ƷۺϾþþƷ</a>| <a href="http://www.happy925.cn" target="_blank">þˬˬƬAV</a>| <a href="http://www.dm739.cn" target="_blank">þǿdŮվ</a>| <a href="http://www.abovefq.cn" target="_blank">99þѹۺϾƷ</a>| <a href="http://www.gjvthsj.cn" target="_blank">þҹҹݺ2022</a>| <a href="http://www.i501.cn" target="_blank">Ʒþۺ123</a>| <a href="http://www.yixue114.cn" target="_blank">91ƷۺϾþþþþ</a>| <a href="http://www.abovefq.cn" target="_blank">޺ݺۺϾþѿ </a>| <a href="http://www.tengfangwang.cn" target="_blank">þۺĻ</a>| <a href="http://www.snryw.cn" target="_blank">ƷɫۺϾþ</a>| <a href="http://www.yikafei.cn" target="_blank">պƷþþþþ</a>| <a href="http://www.davidgroup.com.cn" target="_blank">㽶aaþëƬ</a>| <a href="http://www.qinhaichang.cn" target="_blank">vĻþ</a>| <a href="http://www.gbestech.cn" target="_blank">߳þѹۿ</a>| <a href="http://www.skgv0713.cn" target="_blank">ҹƷþþþþ</a>| <a href="http://www.vipvod.cn" target="_blank">þþþ޾Ʒһ </a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>