??xml version="1.0" encoding="utf-8" standalone="yes"?>欧美一级久久久久久久大片,亚洲国产成人久久笫一页,99久久精品午夜一区二区http://www.shnenglu.com/lovelypig/代码是咒?我是法?/description>zh-cnTue, 06 May 2025 19:11:11 GMTTue, 06 May 2025 19:11:11 GMT60坐等芒果pȝhttp://www.shnenglu.com/lovelypig/archive/2011/06/20/149000.htmlSun, 19 Jun 2011 17:50:00 GMThttp://www.shnenglu.com/lovelypig/archive/2011/06/20/149000.htmlhttp://www.shnenglu.com/lovelypig/comments/149000.htmlhttp://www.shnenglu.com/lovelypig/archive/2011/06/20/149000.html#Feedback0http://www.shnenglu.com/lovelypig/comments/commentRss/149000.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/149000.html
   很多为C++q时?不愿意再花时间学?我不q样认ؓ(f),C++能在Ud讑֤开发上,能唤L(fng)二春. 在windows上用VS用久?要换个系l?换个环境,学习(fn)代h(hun)太高?sh)?

   一条\走到黑得?..



2011-06-20 01:50 发表评论
]]>
开闭原?/title><link>http://www.shnenglu.com/lovelypig/archive/2010/12/23/137337.html</link><dc:creator>子</dc:creator><author>子</author><pubDate>Thu, 23 Dec 2010 15:52:00 GMT</pubDate><guid>http://www.shnenglu.com/lovelypig/archive/2010/12/23/137337.html</guid><wfw:comment>http://www.shnenglu.com/lovelypig/comments/137337.html</wfw:comment><comments>http://www.shnenglu.com/lovelypig/archive/2010/12/23/137337.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/lovelypig/comments/commentRss/137337.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/lovelypig/services/trackbacks/137337.html</trackback:ping><description><![CDATA[  “开?#8221;原则是指软g实体应当<strong>Ҏ(gu)加开?/strong>Q?strong>对修改关?/strong>。即软g实体应该在不修改的前提下扩展Q这个原则实际上Y件设计指明了(jin)目标。我们知道Y件设计应当充分考虑软g的可l护性,即需求发生变化的时候Y件结构能够灵zd适应q种变化。就评h(hun)软g的可l护性而言Q?#8220;开?#8221;原则提供?jin)一个依据?br><br>我们的模块众多真的是因ؓ(f)q个原因? 我不赞同.<br><br>一个优U的Y仉先应该是易于试?只有方便试,才能快速的定位问题. <img src ="http://www.shnenglu.com/lovelypig/aggbug/137337.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/lovelypig/" target="_blank">子</a> 2010-12-23 23:52 <a href="http://www.shnenglu.com/lovelypig/archive/2010/12/23/137337.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>100行代码去除QQq告http://www.shnenglu.com/lovelypig/archive/2008/10/26/65130.htmlSun, 26 Oct 2008 12:18:00 GMThttp://www.shnenglu.com/lovelypig/archive/2008/10/26/65130.htmlhttp://www.shnenglu.com/lovelypig/comments/65130.htmlhttp://www.shnenglu.com/lovelypig/archive/2008/10/26/65130.html#Feedback10http://www.shnenglu.com/lovelypig/comments/commentRss/65130.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/65130.htmlZ么写q个: 
     1Q像我这么爱q净的hQ当然不能容忍和MM聊天的时候,看到一个内衣广告在上面一闪一闪,q不引诱老纳么;
     2Qؓ(f)什么不用其它外挂??qing)瑚虫已SQ再没用q其它。现有的外挂实现?jin)一些我不想要的功能Q看IP也没必要Q聊天的都是熟h。另外,不知道它做了(jin)些什么事情;
     3Q打发这个无聊的周末?br>
怎样实现Q?br>     1Q万能的HOOK

现在用到的是全局的SHELL HOOKQHook的是H口创徏完成的消息;

    g_hShellHook = SetWindowsHookEx( WH_SHELL,
                (HOOKPROC)ShellHook,
                g_hInstance,
                
0);

 ShellHook 的实现如?

static LRESULT CALLBACK ShellHook(UINT nCode, WPARAM wParam, LPARAM lParam)
{
    
if(nCode < 0)
        
goto CallOrg;
    
    
if( HSHELL_WINDOWCREATED == nCode )
    
{
        
if!isQQWnd( (HWND)wParam ) )
            
goto CallOrg;
        
        EnumChildWindows( (HWND)wParam, EnumChildProc, (LPARAM)
0 );
    }

    
CallOrg:
    
return CallNextHookEx( g_hShellHook, nCode, wParam, lParam);
}
 


在收到窗口创建后的消息时Q就判断q个H口是不是QQ?q里用到?GetWindowThreadProcessId Q它q回H口相关的进EID

BOOL isQQWnd(HWND hWnd)
{
    
if( g_pContext == NULL )
        
return FALSE;

    
if( g_dwQQProcessID == 0 )
        g_dwQQProcessID 
= GetQQProcessID();
    
    DWORD dwWndProcessID;
    
if( GetWindowThreadProcessId( hWnd, &dwWndProcessID ) == 0 )
        
return FALSE;
    
    
return dwWndProcessID == g_dwQQProcessID;

}


然后枚D它的子窗口,看它的子H口有没有广告控Ӟ有的话就l子控g发送个WM_CLOSE的消?

BOOL CALLBACK EnumChildProc(HWND hwnd, LPARAM lParam  )
{
    DWORD dwID 
= GetDlgCtrlID( hwnd );
    
if( dwID == 0x3e9 )
    
{
        HWND hPrarent 
= GetParent( hwnd );
        PostMessage(hwnd, WM_CLOSE, 
00 );
        Sleep( 
10 );
        PostMessage(hPrarent, WM_PAINT, 
00 );
    }

    
else if( dwID == 0x643f )
    
{
        PostMessage(hwnd, WM_CLOSE, 
00 );
    }


    
return TRUE;
}

其中的两个硬~码是用 spy++ 分析出来的,可能因ؓ(f)版本的不同,?x)有差异。所以我不确定能不能关闭其它版本的QQq告。我使用的版本是QQ2008贺岁版?br>
--------------------------------------------------------------------------

后记:
   管实现的技术很?但还是花?jin)我大半天的旉? 写完之后觉得枚D子窗口的方式太低? 或者还有其它高效点的方式。另外还有全局钩子,可能没有必要。如果下午周末持l无聊,我会(x)试改进一下?br>
   QQ的聊天对话框很简?不像MSN的对话框,铁板一?用spy++啥都看不?但是可以?AccExplorer 分析.惛_MSN的对话框上加点东西进去,实现h很困难。对q方面有研究的同学不妨与我讨Z下实玎ͼ一起学?fn)、进步?br>      
   代码的行数没敎ͼ有效代码估计也就百把行吧Q呵呵,我承认我是标题党?br>
?   源代?+ bin



2008-10-26 20:18 发表评论
]]>
把头文g全部导出的脚?/title><link>http://www.shnenglu.com/lovelypig/archive/2008/02/19/42963.html</link><dc:creator>子</dc:creator><author>子</author><pubDate>Tue, 19 Feb 2008 14:06:00 GMT</pubDate><guid>http://www.shnenglu.com/lovelypig/archive/2008/02/19/42963.html</guid><wfw:comment>http://www.shnenglu.com/lovelypig/comments/42963.html</wfw:comment><comments>http://www.shnenglu.com/lovelypig/archive/2008/02/19/42963.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.shnenglu.com/lovelypig/comments/commentRss/42963.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/lovelypig/services/trackbacks/42963.html</trackback:ping><description><![CDATA[<p> </p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><span style="COLOR: #008000">#</span><span style="COLOR: #008000"> -*- coding: cp936 -*-</span><span style="COLOR: #008000"><br></span><span style="COLOR: #0000ff">import</span><span style="COLOR: #000000"> re<br></span><span style="COLOR: #0000ff">from</span><span style="COLOR: #000000">   os.path  </span><span style="COLOR: #0000ff">import</span><span style="COLOR: #000000"> dirname<br></span><span style="COLOR: #0000ff">import</span><span style="COLOR: #000000"> shutil<br></span><span style="COLOR: #0000ff">import</span><span style="COLOR: #000000"> os<br>pattern </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">^#\s*include\s+(<)(.+)(>)(.*)$</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000"><br>prog    </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> re.compile(pattern)<br>find_sets </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> []<br><br><br></span><span style="COLOR: #0000ff">def</span><span style="COLOR: #000000"> create_dir(file_dir):<br>    </span><span style="COLOR: #008000">#</span><span style="COLOR: #008000">print dirname(_dir);</span><span style="COLOR: #008000"><br></span><span style="COLOR: #000000">    _dir </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> dirname(file_dir)<br>    </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">not</span><span style="COLOR: #000000"> os.path.exists(_dir):<br>        os.makedirs(_dir)<br><br></span><span style="COLOR: #0000ff">def</span><span style="COLOR: #000000"> copyHeadFile(root_dir, src_path, des_path, deep </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> 0):<br>    </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">((root_dir </span><span style="COLOR: #000000">+</span><span style="COLOR: #000000"> src_path) </span><span style="COLOR: #0000ff">in</span><span style="COLOR: #000000"> find_sets): <br>        </span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"><br>    </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">( </span><span style="COLOR: #0000ff">not</span><span style="COLOR: #000000"> os.path.exists(root_dir </span><span style="COLOR: #000000">+</span><span style="COLOR: #000000"> src_path) ):<br>        </span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"><br>    <br>    create_dir(des_path </span><span style="COLOR: #000000">+</span><span style="COLOR: #000000"> src_path)    <br>    shutil.copyfile(root_dir </span><span style="COLOR: #000000">+</span><span style="COLOR: #000000"> src_path, des_path </span><span style="COLOR: #000000">+</span><span style="COLOR: #000000"> src_path);<br>    find_sets.append(root_dir </span><span style="COLOR: #000000">+</span><span style="COLOR: #000000"> src_path)<br>    <br>    src_file </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> open(root_dir </span><span style="COLOR: #000000">+</span><span style="COLOR: #000000"> src_path, </span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">r</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)<br>    </span><span style="COLOR: #0000ff">print</span><span style="COLOR: #000000"> </span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">.rjust(deep) </span><span style="COLOR: #000000">+</span><span style="COLOR: #000000"> des_path </span><span style="COLOR: #000000">+</span><span style="COLOR: #000000"> src_path<br>    </span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000"> line </span><span style="COLOR: #0000ff">in</span><span style="COLOR: #000000"> src_file:<br>        </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">  prog.search(line):<br>            line </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> re.sub(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">(^#\s*include\s+(<))|(>)(.*)$</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">, </span><span style="COLOR: #800000">''</span><span style="COLOR: #000000">, line)<br>            line </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> line.replace(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">/</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">, </span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">\\</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)<br>            line </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> line.rstrip(</span><span style="COLOR: #800000">'</span><span style="COLOR: #800000">\n</span><span style="COLOR: #800000">'</span><span style="COLOR: #000000">)<br>            copyHeadFile( root_dir, line, des_path, (deep </span><span style="COLOR: #000000">+</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">4</span><span style="COLOR: #000000">))<br>        <br>copyHeadFile(</span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">D:\\Program Files\\Microsoft Visual Studio 8\\VC\\include\\</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">, </span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">stdafx.h</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000">, </span><span style="COLOR: #800000">"</span><span style="COLOR: #800000">d:\\need_hpp\\</span><span style="COLOR: #800000">"</span><span style="COLOR: #000000"> )</span></div> <br><br>Python偶而玩玩也很爽?q个脚本的来例:(x)我写的demo用到?jin)不boost的东西,代码交给领导(g)查的时候,又不能把整个boost 都拷贝给他,q个脚本能把引用到的头文件导出到指定的目录里面? <img src ="http://www.shnenglu.com/lovelypig/aggbug/42963.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/lovelypig/" target="_blank">子</a> 2008-02-19 22:06 <a href="http://www.shnenglu.com/lovelypig/archive/2008/02/19/42963.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>日记http://www.shnenglu.com/lovelypig/archive/2007/11/23/37215.htmlFri, 23 Nov 2007 08:42:00 GMThttp://www.shnenglu.com/lovelypig/archive/2007/11/23/37215.htmlhttp://www.shnenglu.com/lovelypig/comments/37215.htmlhttp://www.shnenglu.com/lovelypig/archive/2007/11/23/37215.html#Feedback4http://www.shnenglu.com/lovelypig/comments/commentRss/37215.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/37215.html2007q?/span>11?/span>22?/span>星期?/span>  下午7?/span>29?/span>

 

外面已经一?/span>7黑。室?/span>H君还没回来,他怕一回来q游戏。我不怕玩游戏Q一个hQ在哪都一P只喜Ƣ安?rn)?/span>

一D音乐,一杯咖啡,一本书Q一D代码,一个晚上。有点喜Ƣ这U感觉了(jin)?/span>

    乐心(j)说得对,要对生活有要求。呵c(din)?/span> 看来我的要求也不高?/span>

 

上次星期公司新员工培训,内容?#8220;我的五样”Q?#8220;七个?fn)?#8221;。我的五P是先写下自己最在乎的五样东西,然后在忧怨的音乐CQ一个一个的划去Q只留下最后一个,以期帮你扑ֈ自己的目标?/span> 我只写了(jin)三样Q而且一样都没有划去Q我觉得它们q不矛盾Q而且那就是我生命的意义。想知道是哪三样吗? 嘿嘿Q我可不告诉你?/span> 接着是《高效能人士的七个习(fn)惯》,q本书我早就看过?sh)子版的Q当时一边看一Ҏ(gu)Q这不就是说我的?fn)惯吗?/span>kao?/span> 讲课的老师水^一般,很能忽?zhn)Q还?sh)如l我们放陈安之老师的成功学。一堂培训下来,也没什么长q,费我一下午的时间。完?jin)之后,集体L下的襉K厅吃蛋炒饭,味道q(sh)错。这个星期又有培训,也不知道能不能吃到好吃的蛋炒饭?/span>

 

x(chng)最q还有什么有的事。前天项目组搞每月一ơ的聚餐Q我们一行八人,M(jin)附近的一家小肥羊。涮涮涮Q很开?j)。喝?jin)白?/span>+啤酒。回到宿舍,晕呼呼的睡着?jin),没盖被子Q结果睡着睡着Q半夜里两E孔被堵v来了(jin)Q难受,d一_感P服下Q半梦半醒到天亮?/span>



2007-11-23 16:42 发表评论
]]>
我是一只小青蛙Q呱呱呱呱呱http://www.shnenglu.com/lovelypig/archive/2007/11/14/36618.htmlWed, 14 Nov 2007 10:43:00 GMThttp://www.shnenglu.com/lovelypig/archive/2007/11/14/36618.htmlhttp://www.shnenglu.com/lovelypig/comments/36618.htmlhttp://www.shnenglu.com/lovelypig/archive/2007/11/14/36618.html#Feedback2http://www.shnenglu.com/lovelypig/comments/commentRss/36618.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/36618.html今天是星期五Q来q州那天是星期二Q离开TW是上个星期五Q离开SPL是上个星期二。离开SPL的时候,实在没有惛_自己?x)在q个陌生的地方开始谋生。短短的十来天,变化的东西很多,而不变的只有一?j)想成?f)优秀的程序员的理惻I我想Q这也是变化的原因)(j)?/span>

Z么离开SPLQ?/span>

一?span>              呆了(jin)两年多,对外面的事物很好奇,有些东西Q如果不w(f)其境的去体会(x)Q永q无法知道;

二?span>              真的想知道,一个大的项目是怎么被分割成很多部分,然后有条不紊被执行,然后一ơ交付,然后有计划的升、维护;

三?span>              不喜Ƣ三天两头的为程序加新功能;

四?span>              不喜Ƣ一个星期上六天班;

五?span>              不喜Ƣ宿舍太吵,一两点钟还被关门的声音震醒Q?/span>

六?span>              不喜Ƣ技术没有进步,整天q同L(fng)z(一个游戏天天玩通关Q你q喜Ƣ玩吗?Q;

七?span>              不喜Ƣ一个h在战斗的时候,看着旁边的胖子偷懒,而且工资比你q高?/span>

 

Z么离开TWQ?/span>

一?/span>对烟厂的业务实在没有兴趣Q做得好q好Q做得不好,被开除了(jin)Q我应该d嘛?我可以去q嘛Q当初花那么多时间去学习(fn)的东西,然后d的时候,一无是处,是不是浪费自q旉Q?/span>

二?/span>对工控不感兴;看着那些甉|讑֤Q我惌己如果在q行发展Q不?x)比那个有?sh)子和计算机双学位的同学更牛;

三?/span>对带头大哥的技术水qx(chng)到失望,其是看?jin)他写的代码之后Q本来一个很单的东西Q经q他的手变得异常复杂,q故作高深。整个程序充满了(jin)编码,而且把逻辑和界面؜淆在一P可能他做为带头大哥,在别的地方,如业务、工控方面有所建树(wi)Q但是我寚w些一点兴都没,我怎能自己跟着你?

四?/span>感觉不会(x)有太大的长进Q我一向认为写低界面是体力活Q?/span>

五?/span>不喜Ƣ在烟厂职工面前装孙子讨好他们,凭什么?我在SPLq是爷呢?/span>

够了(jin)Q做自己不喜Ƣ的工作Q就像出卖自q灵魂。不如早点结束,自己有选择的能力?/span>

 

辗{来到q州Q?/span>

只所以在q待着是因为:(x)

一?/span>我喜Ƣ系l底层,我以前就喜欢Q只是没有时间去?jin)解Q?/span>

二?/span>目l的同事相处h不错Q没什么架子,很好交流Q?/span>

三?/span>q州和长沙的消费g差不多,而且q公司还{应包住Q所以,每月能剩下的钱就多点?jin)?/span>

四?/span>即便是被开除了(jin)Q在q州q地Q؜个饭g也不难,如果没有虚度时光的话。这?/span>IT公司挺多的;

五?/span>着q轻Q想出来见见世面Q如果这也是理由的话Q;

 

自己做出的这些决定,放了(jin)一些h的鸽子,我向你们道歉Q你们都是好人,我辜负了(jin)你们Ҏ(gu)的信任,那是因ؓ(f)我的优柔寡断和性格上的其它~陷引v的。这里提到的一些h被定义ؓ(f)Q?/span>TW?/span>HR?/span>YM大哥Q还有雨׃的杨大哥?/span>

HR在给我办入职的时候和我说Q你不会(x)做两三天p人吧Q我_(d)(x)应该不会(x)吧。可是我C(jin)Qؓ(f)?jin)我所谓的理想Q我对不起你Q?/span>

YMQ我们最后一ơ分开Ӟ我对你说Q做q个主要是对业务的理解吧Q你拍拍我的肩膀Ҏ(gu)_(d)(x)所以你要每天下车间ȝ看。我知道你是为我好,如你所_(d)在长沙找个这L(fng)工作不容易。可qƈ不是我想要的生活Q也许在来的某天,我会(x)后?zhn)自己失去了(jin)一ơ稳定的Z(x)Q但Q决不是现在。再ơ向你说声对不v?/span>

雨花亭的杨大哥:(x)准备和你合租房子的前一天,我离开长沙?jin),所以你的鸽子不得不放?/span>

      

惌v来是自己的不对,p得挺难过Q而且从心(j)里开?/span>BS自己Q如果你看到q些Q也?/span>BS一下我Q让我能在你BS的眼中吸取教训Q如果下ơ有cM的事情,?x)处理得好?/span> 写着写着p得有些压抑,而我也不知道怎样才能不压抑些?/span>

      

       放一?a href="http://www.shnenglu.com/lovelypig/gallery/3737.html">囄吧,作ؓ(f)记录Q而这一切,都已l是回忆?/span>



2007-11-14 18:43 发表评论
]]>
改变应用E序的图?/title><link>http://www.shnenglu.com/lovelypig/archive/2007/08/09/29656.html</link><dc:creator>子</dc:creator><author>子</author><pubDate>Thu, 09 Aug 2007 10:40:00 GMT</pubDate><guid>http://www.shnenglu.com/lovelypig/archive/2007/08/09/29656.html</guid><wfw:comment>http://www.shnenglu.com/lovelypig/comments/29656.html</wfw:comment><comments>http://www.shnenglu.com/lovelypig/archive/2007/08/09/29656.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/lovelypig/comments/commentRss/29656.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/lovelypig/services/trackbacks/29656.html</trackback:ping><description><![CDATA[<p>今天发生一件有的事情,我要为程序换个图?.<br><br>E序有很多ICO资源,例如  ICO_1,ICO_2,ICO_3,ICO_4....<br>我新增了(jin)一个APP_ICOQ程序图标要换成q个Q? 我把以前的图标删?jin),然后ID改ؓ(f)以前那个Q可是ReBuild之后Q程序图标竟然是 ICO_1。很奇怪?br><br>找了(jin)半天Q发现ICO_1的ID值是最的。于是我把APP_ICO的ID值改为最。Rebuild.l于把程序图标给换了(jin)q来?br></p> <img src ="http://www.shnenglu.com/lovelypig/aggbug/29656.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/lovelypig/" target="_blank">子</a> 2007-08-09 18:40 <a href="http://www.shnenglu.com/lovelypig/archive/2007/08/09/29656.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>搜烦(ch)内存取得QQL(fng)http://www.shnenglu.com/lovelypig/archive/2006/12/13/16347.htmlTue, 12 Dec 2006 16:36:00 GMThttp://www.shnenglu.com/lovelypig/archive/2006/12/13/16347.htmlhttp://www.shnenglu.com/lovelypig/comments/16347.htmlhttp://www.shnenglu.com/lovelypig/archive/2006/12/13/16347.html#Feedback6http://www.shnenglu.com/lovelypig/comments/commentRss/16347.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/16347.htmlq样的帖?不知道可不可以放到首?.如果不行,ȝ(ch)理员清? 谢谢.

HANDLE (tng)GetQQProcess();
bool  (tng)SeachQQNumber(HANDLE (tng)_hProcess, string  (tng) & strQQ);
int  (tng)_tmain( int  (tng)argc, (tng)_TCHAR *  (tng)argv[])
{
 (tng) (tng) (tng) (tng)HANDLE (tng)hProces (tng)
=  (tng)GetQQProcess() (tng);
 (tng) (tng) (tng) (tng)
if (hProces ==  (tng)NULL)
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)cout (tng)
<< " No (tng)run (tng)QQ! " << endl;

 (tng) (tng) (tng) (tng)
string  (tng)strQQ;
 (tng) (tng) (tng) (tng)SeachQQNumber(hProces,strQQ);
 (tng) (tng) (tng) (tng)cout (tng)
<< strQQ << endl;
 (tng) (tng) (tng) (tng)system(
" pause " );
 (tng) (tng) (tng) (tng)
return  (tng) 0 ;
}


bool  (tng)SeachQQNumber(HANDLE (tng)_hProcess, (tng) string  (tng) & strQQ)
{
 (tng) (tng) (tng) (tng)SuspendThread(_hProcess);
 (tng) (tng) (tng) (tng)
 (tng) (tng) (tng) (tng)DWORD (tng)dwBaseAddress; (tng)
 (tng) (tng) (tng) (tng)MEMORY_BASIC_INFORMATION (tng)mbi;
 (tng) (tng) (tng) (tng)
char  (tng) (tng)process_mem[ 4096 ] (tng) =  (tng) { 0 } ;
 (tng) (tng) (tng) (tng)DWORD (tng)number_of_bytes_read (tng)
=  (tng) 0 ;
 (tng) (tng) (tng) (tng)SYSTEM_INFO (tng)si; (tng)
 (tng) (tng) (tng) (tng)GetSystemInfo(
& si);
 (tng) (tng) (tng) (tng)dwBaseAddress (tng)
=  (tng)(DWORD)si.lpMinimumApplicationAddress; (tng)
 (tng) (tng) (tng) (tng)
while (dwBaseAddress (tng) <  (tng)(DWORD)si.lpMaximumApplicationAddress) (tng)
 (tng) (tng) (tng) (tng)
{ (tng)
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)mbi.BaseAddress (tng)
=  (tng)(LPVOID)dwBaseAddress; (tng)
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)VirtualQueryEx(_hProcess, (tng)(LPVOID)dwBaseAddress, (tng)
& mbi, (tng) sizeof (mbi));
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)dwBaseAddress (tng)
=  (tng)(DWORD)mbi.BaseAddress (tng) +  (tng)mbi.RegionSize; (tng)
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
if (mbi.State (tng) !=  (tng)MEM_COMMIT (tng) ||  (tng)mbi.AllocationProtect (tng) !=  (tng)PAGE_READWRITE) (tng) // 跌未分配或不可d的区域?/span>
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) { (tng)
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
continue ; (tng)
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)}
 (tng)
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
// 搜烦(ch)
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) for (DWORD (tng)i (tng) =  (tng)(DWORD)mbi.BaseAddress; (tng)i (tng) <  (tng)dwBaseAddress; (tng)i += 4096 )
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
{
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
if ( ! ReadProcessMemory(_hProcess,LPCVOID(i),process_mem, 4096 , & number_of_bytes_read))
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
break ; (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
for ( int  (tng)j = 0 ;j < 4096  (tng) -  (tng) 9 ;j ++ )
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
{
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
if ( ! memcmp( & process_mem[j], " \\MsgEx.db " , 9 ) (tng))
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
{
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
// printf("begin\n");
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) for ( int  (tng)k = j - 1 ; (tng)k (tng) >  (tng)j - 12 ; (tng)k -- )
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
{
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
if (process_mem[k] (tng) >=  (tng) ' 0 '  (tng) &&  (tng)process_mem[k] (tng) <=  (tng) ' 9 ' )
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
{
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)strQQ (tng)
=  (tng) (tng)process_mem[k] (tng) +  (tng)strQQ;
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)}

 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
else
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
break ;
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)}

 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
if (strQQ.length())
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
{
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)ResumeThread(_hProcess);
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
return  (tng) true ;
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)}
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)}

 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)}

 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)}

 (tng) (tng) (tng) (tng)}

 (tng) (tng) (tng) (tng)ResumeThread(_hProcess);
 (tng) (tng) (tng) (tng)
return  (tng) false ;
}



HANDLE (tng)GetQQProcess()
{
 (tng) (tng) (tng) (tng)PROCESSENTRY32 (tng)pe;
 (tng) (tng) (tng) (tng)pe.dwSize (tng)
=  (tng) sizeof (PROCESSENTRY32);
 (tng) (tng) (tng) (tng)HANDLE (tng)hSnapshot (tng)
=  (tng)CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, (tng) 0 );
 (tng) (tng) (tng) (tng)Process32First(hSnapshot, (tng)
& pe);
 (tng) (tng) (tng) (tng)
do {
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
if ( ! _tcsicmp(pe.szExeFile,_T( " qq.exe " )))
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
{
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)CloseHandle(hSnapshot);
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
return  (tng)OpenProcess(PROCESS_ALL_ACCESS,FALSE,pe.th32ProcessID);
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)}

 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)pe.dwSize (tng)
=  (tng) sizeof (PROCESSENTRY32);
 (tng) (tng) (tng) (tng)}
while (Process32Next(hSnapshot, (tng) & pe));
 (tng) (tng) (tng) (tng)CloseHandle(hSnapshot);
 (tng) (tng) (tng) (tng)
return  (tng)NULL;
}


2006-12-13 00:36 发表评论
]]>
boost::filesystem的文仉?/title><link>http://www.shnenglu.com/lovelypig/archive/2006/12/13/16346.html</link><dc:creator>子</dc:creator><author>子</author><pubDate>Tue, 12 Dec 2006 16:29:00 GMT</pubDate><guid>http://www.shnenglu.com/lovelypig/archive/2006/12/13/16346.html</guid><wfw:comment>http://www.shnenglu.com/lovelypig/comments/16346.html</wfw:comment><comments>http://www.shnenglu.com/lovelypig/archive/2006/12/13/16346.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.shnenglu.com/lovelypig/comments/commentRss/16346.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/lovelypig/services/trackbacks/16346.html</trackback:ping><description><![CDATA[ <p> (tng)</p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"> <img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #000000">#include (tng)</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">boost/filesystem/operations.hpp</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> <br /> <img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" />#include (tng)</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">boost/filesystem/path.hpp</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> <br /> <img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" />#include (tng)</span> <span style="COLOR: #000000"><</span> <span style="COLOR: #000000">iostream</span> <span style="COLOR: #000000">></span> <span style="COLOR: #000000"> <br /> <img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /> </span> <span style="COLOR: #0000ff">using</span> <span style="COLOR: #000000"> (tng)</span> <span style="COLOR: #0000ff">namespace</span> <span style="COLOR: #000000"> (tng)std;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /></span> <span style="COLOR: #0000ff">namespace</span> <span style="COLOR: #000000"> (tng)fs (tng)</span> <span style="COLOR: #000000">=</span> <span style="COLOR: #000000"> (tng)boost::filesystem;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /></span> <span style="COLOR: #0000ff">void</span> <span style="COLOR: #000000"> (tng)PrintAllFile(fs::path (tng)</span> <span style="COLOR: #000000">&</span> <span style="COLOR: #000000">full_path);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /><br /></span> <span style="COLOR: #000000"> <br /> <br /> <img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /> </span> <span style="COLOR: #0000ff">int</span> <span style="COLOR: #000000"> (tng)main( (tng)</span> <span style="COLOR: #0000ff">int</span> <span style="COLOR: #000000"> (tng)argc, (tng)</span> <span style="COLOR: #0000ff">char</span> <span style="COLOR: #000000">*</span> <span style="COLOR: #000000"> (tng)argv[] (tng))<br /><img id="Codehighlighter1_303_376_Open_Image" onclick="this.style.display='none'; Codehighlighter1_303_376_Open_Text.style.display='none'; Codehighlighter1_303_376_Closed_Image.style.display='inline'; Codehighlighter1_303_376_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_303_376_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_303_376_Closed_Text.style.display='none'; Codehighlighter1_303_376_Open_Image.style.display='inline'; Codehighlighter1_303_376_Open_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /></span> <span id="Codehighlighter1_303_376_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"> <img src="http://www.shnenglu.com/images/dot.gif" /> </span> <span id="Codehighlighter1_303_376_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng)fs::path (tng)full_path( (tng)</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">D:\\</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"> (tng),fs::native);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng)PrintAllFile(full_path);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /> </span> <span style="COLOR: #0000ff">void</span> <span style="COLOR: #000000"> (tng)PrintAllFile(fs::path (tng)</span> <span style="COLOR: #000000">&</span> <span style="COLOR: #000000">full_path)<br /><img id="Codehighlighter1_417_804_Open_Image" onclick="this.style.display='none'; Codehighlighter1_417_804_Open_Text.style.display='none'; Codehighlighter1_417_804_Closed_Image.style.display='inline'; Codehighlighter1_417_804_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_417_804_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_417_804_Closed_Text.style.display='none'; Codehighlighter1_417_804_Open_Image.style.display='inline'; Codehighlighter1_417_804_Open_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /></span> <span id="Codehighlighter1_417_804_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"> <img src="http://www.shnenglu.com/images/dot.gif" /> </span> <span id="Codehighlighter1_417_804_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng)</span> <span style="COLOR: #0000ff">if</span> <span style="COLOR: #000000">(fs::exists(full_path))<br /><img id="Codehighlighter1_447_802_Open_Image" onclick="this.style.display='none'; Codehighlighter1_447_802_Open_Text.style.display='none'; Codehighlighter1_447_802_Closed_Image.style.display='inline'; Codehighlighter1_447_802_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_447_802_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_447_802_Closed_Text.style.display='none'; Codehighlighter1_447_802_Open_Image.style.display='inline'; Codehighlighter1_447_802_Open_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" /> (tng)</span> <span id="Codehighlighter1_447_802_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"> <img src="http://www.shnenglu.com/images/dot.gif" /> </span> <span id="Codehighlighter1_447_802_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng)fs::directory_iterator (tng)item_begin(full_path);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng)fs::directory_iterator (tng)item_end;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng)</span> <span style="COLOR: #0000ff">for</span> <span style="COLOR: #000000">( (tng);item_begin (tng) (tng)</span> <span style="COLOR: #000000">!=</span> <span style="COLOR: #000000"> (tng)item_end; (tng)item_begin</span> <span style="COLOR: #000000">++</span> <span style="COLOR: #000000">)<br /><img id="Codehighlighter1_581_799_Open_Image" onclick="this.style.display='none'; Codehighlighter1_581_799_Open_Text.style.display='none'; Codehighlighter1_581_799_Closed_Image.style.display='inline'; Codehighlighter1_581_799_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_581_799_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_581_799_Closed_Text.style.display='none'; Codehighlighter1_581_799_Open_Image.style.display='inline'; Codehighlighter1_581_799_Open_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" /> (tng) (tng)</span> <span id="Codehighlighter1_581_799_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"> <img src="http://www.shnenglu.com/images/dot.gif" /> </span> <span id="Codehighlighter1_581_799_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng)<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng)</span> <span style="COLOR: #0000ff">if</span> <span style="COLOR: #000000">(fs::is_directory(</span> <span style="COLOR: #000000">*</span> <span style="COLOR: #000000">item_begin))<br /><img id="Codehighlighter1_627_726_Open_Image" onclick="this.style.display='none'; Codehighlighter1_627_726_Open_Text.style.display='none'; Codehighlighter1_627_726_Closed_Image.style.display='inline'; Codehighlighter1_627_726_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /><img id="Codehighlighter1_627_726_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_627_726_Closed_Text.style.display='none'; Codehighlighter1_627_726_Open_Image.style.display='inline'; Codehighlighter1_627_726_Open_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" /> (tng) (tng) (tng)</span> <span id="Codehighlighter1_627_726_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"> <img src="http://www.shnenglu.com/images/dot.gif" /> </span> <span id="Codehighlighter1_627_726_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng)cout (tng)</span> <span style="COLOR: #000000"><<</span> <span style="COLOR: #000000">item_begin</span> <span style="COLOR: #000000">-></span> <span style="COLOR: #000000">native_file_string()</span> <span style="COLOR: #000000"><<</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000">\t[dir]</span> <span style="COLOR: #000000">"</span> <span style="COLOR: #000000"><<</span> <span style="COLOR: #000000">endl;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng)PrintAllFile(</span> <span style="COLOR: #000000">*</span> <span style="COLOR: #000000">item_begin);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" /> (tng) (tng) (tng)}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng)</span> <span style="COLOR: #0000ff">else</span> <span style="COLOR: #000000"> <br /> <img id="Codehighlighter1_739_795_Open_Image" onclick="this.style.display='none'; Codehighlighter1_739_795_Open_Text.style.display='none'; Codehighlighter1_739_795_Closed_Image.style.display='inline'; Codehighlighter1_739_795_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedSubBlockStart.gif" align="top" /> <img id="Codehighlighter1_739_795_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_739_795_Closed_Text.style.display='none'; Codehighlighter1_739_795_Open_Image.style.display='inline'; Codehighlighter1_739_795_Open_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ContractedSubBlock.gif" align="top" /> (tng) (tng) (tng)</span> <span id="Codehighlighter1_739_795_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"> <img src="http://www.shnenglu.com/images/dot.gif" /> </span> <span id="Codehighlighter1_739_795_Open_Text"> <span style="COLOR: #000000">{<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng)cout (tng)</span> <span style="COLOR: #000000"><<</span> <span style="COLOR: #000000">item_begin</span> <span style="COLOR: #000000">-></span> <span style="COLOR: #000000">native_file_string()</span> <span style="COLOR: #000000"><<</span> <span style="COLOR: #000000">endl;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" /> (tng) (tng) (tng)}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" /> (tng) (tng)}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedSubBlockEnd.gif" align="top" /> (tng)}</span> </span> <span style="COLOR: #000000"> <br /> <img src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span> </span> </div> <img src ="http://www.shnenglu.com/lovelypig/aggbug/16346.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/lovelypig/" target="_blank">子</a> 2006-12-13 00:29 <a href="http://www.shnenglu.com/lovelypig/archive/2006/12/13/16346.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>FTP扫描?U娱?http://www.shnenglu.com/lovelypig/archive/2006/12/13/16345.htmlTue, 12 Dec 2006 16:19:00 GMThttp://www.shnenglu.com/lovelypig/archive/2006/12/13/16345.htmlhttp://www.shnenglu.com/lovelypig/comments/16345.htmlhttp://www.shnenglu.com/lovelypig/archive/2006/12/13/16345.html#Feedback1http://www.shnenglu.com/lovelypig/comments/commentRss/16345.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/16345.html阅读全文

2006-12-13 00:19 发表评论
]]>
q况http://www.shnenglu.com/lovelypig/archive/2006/11/22/15565.htmlWed, 22 Nov 2006 15:08:00 GMThttp://www.shnenglu.com/lovelypig/archive/2006/11/22/15565.htmlhttp://www.shnenglu.com/lovelypig/comments/15565.htmlhttp://www.shnenglu.com/lovelypig/archive/2006/11/22/15565.html#Feedback2http://www.shnenglu.com/lovelypig/comments/commentRss/15565.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/15565.html最q工作比较闲. 因此看了(jin)一些书,一些电(sh)?

<设计模式>开始看W二?. 感觉实际开发中用不着.. 来公怸q多,目实在?真想找个高(sh)h带着我乘风破?.不说乘风破浪,qx(chng)有个论都?
看了(jin)一?x)?lt;wxWidgets>. 随便一个对话框E序都占?jin)几M内存,文g牛大..了(jin). 跨^台现在还用不着,攑ּ.
看了(jin)一?x)?lt;病毒入门>.汇编看得x(chng)..|云彬老师的Win32汇编书写得像?lt;WindowE序设计>的翻?
看了(jin)一?x)?lt;Python>. .现在的开发用不着.. 屠龙之技.
昨天发现用Flash做界面真是好. 又漂亮又? 现在的Flash8.0可以很好的和本地E序交互? 感觉是黑暗中的明?

看名字叫<狱>的电(sh)? 觉得外国q箋(hu)剧可看性很?.T-Bag是只打不ȝ强. 麦克.Scofield真牛. 外国政治也黑? 外国监狱真好. (tng) 司法制度真体?

觉得自己?x)用的Ş容词很?是?"?,"?,"?

哈哈.

q周末王斌和周芬l婚? 我要回家参加他们的婚C? ?j)情有些许复? 难以名状. (tng). 管如此,我还是要l他们献上杨某h最诚挚的祝? 无论如何,一定要q福.



2006-11-22 23:08 发表评论
]]>
<瓶中时光>.摘自<?qing)花?gt;http://www.shnenglu.com/lovelypig/archive/2006/11/07/14785.htmlTue, 07 Nov 2006 03:46:00 GMThttp://www.shnenglu.com/lovelypig/archive/2006/11/07/14785.htmlhttp://www.shnenglu.com/lovelypig/comments/14785.htmlhttp://www.shnenglu.com/lovelypig/archive/2006/11/07/14785.html#Feedback0http://www.shnenglu.com/lovelypig/comments/commentRss/14785.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/14785.html如果我能存时间入瓶?tng) (tng)?我最惛_的事情?tng)?是保存每个日子 (tng) (tng) (tng) 直到我们老去 (tng)

只ؓ(f)能与你再ơ共度?如果我能让时光永驻?我会(x)珍藏每个日子 (tng) 然后 (tng) 再一ơ?与你共度

你找C惛_的事情时 (tng) 却L发现 (tng) 已没有够时闾b?我历l寻寻觅觅?才发?/p>

你就是那个?我愿共度一生的人?如果我有盒子 盛着从未实现的梦与希?/p>

那么它将?x)空荡荡?tng) 除了(jin)那些 (tng) 你ؓ(f)我圆梦的记忆



2006-11-07 11:46 发表评论
]]>
qhttp://www.shnenglu.com/lovelypig/archive/2006/10/27/14267.htmlThu, 26 Oct 2006 22:47:00 GMThttp://www.shnenglu.com/lovelypig/archive/2006/10/27/14267.htmlhttp://www.shnenglu.com/lovelypig/comments/14267.htmlhttp://www.shnenglu.com/lovelypig/archive/2006/10/27/14267.html#Feedback0http://www.shnenglu.com/lovelypig/comments/commentRss/14267.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/14267.html (tng)一大早醒来,想了(jin)很多. 睡不着.

不能再玩游戏?希望部门的技术氛围能一? 在一?不是讨论游戏,而是讨论技?

玩了(jin)q么些年游戏,得到?jin)什?失去?jin)什?不想再作q究.只是不想再ؓ(f)?jin)它失去一些宝늚东西,譬如旉.
 (tng)



2006-10-27 06:47 发表评论
]]>
QDive Into PythonQ节?http://www.shnenglu.com/lovelypig/archive/2006/10/25/14120.htmlWed, 25 Oct 2006 02:17:00 GMThttp://www.shnenglu.com/lovelypig/archive/2006/10/25/14120.htmlhttp://www.shnenglu.com/lovelypig/comments/14120.htmlhttp://www.shnenglu.com/lovelypig/archive/2006/10/25/14120.html#Feedback0http://www.shnenglu.com/lovelypig/comments/commentRss/14120.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/14120.html例?.14. (tng)处理开始字W?/h3>
				
Q..
Q>Q?phonePattern = re.compile(r'^\D*(\d{3})\D*(\d{3})\D*(\d{4})\D*(\d*)$') 1 Q>Q?phonePattern.search('(800)5551212 ext. 1234').groups() 2 ('800', '555', '1212', '1234')
Q>Q?phonePattern.search('800-555-1212').groups() 3 ('800', '555', '1212', '')
Q>Q?phonePattern.search('work 1-(800) 555.1212 #1234') 4
Q>Q?
1 q个正则表达式和前面的几乎相同,除了(jin)在第一个记忆组Q区P(j)前面匚w\D*Q?或者多个非数字字符。注意,此处你没有记忆这些非数字字符Q他们没有被括号括v来)(j)。如果你发现他们Q只是蟩q他们,接着只要匚w上就开始记忆区受?br />
 (tng)2 你可以成功的解析?sh)话L(fng)Q即使在区号前面有一个左括号?在区号后面的x(chng)号也已经被处理,它被看成非数字字W分隔符Q由W一个记忆组后面?\D*匚w?
 (tng)3 q行仔细的检查,保证你没有破坏前面能够匹配的M情况。由于首字符是完全可选的Q这个模式匹配字W串的开始,接着?个非数字字符Q接着是一个有三个数字字符的记忆组(800)Q接着?个非数字字符Q连字符Q,接着是一个有三个数字字符的记忆组(555)Q接着?个非数字字符Q连字符Q,接着是一个有四个数字字符的记忆组(1212)Q接着?个非数字字符Q接着是一个有0个数字位的记忆组Q最后是字符串的l尾?br />
 (tng)4 此处是正则表辑ּ让我产生?jin)找一个硬东西挖出自己的眼睛的冲动。ؓ(f)什么这个电(sh)话号码没有匹配上Q因为在它的区号前面有一?1Q但是你认ؓ(f)在区号前面的所有字W都是非数字字符(\D*)?Aargh.


2006-10-25 10:17 发表评论
]]>
|马字母 http://www.shnenglu.com/lovelypig/archive/2006/10/24/14070.htmlTue, 24 Oct 2006 01:52:00 GMThttp://www.shnenglu.com/lovelypig/archive/2006/10/24/14070.htmlhttp://www.shnenglu.com/lovelypig/comments/14070.htmlhttp://www.shnenglu.com/lovelypig/archive/2006/10/24/14070.html#Feedback0http://www.shnenglu.com/lovelypig/comments/commentRss/14070.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/14070.html

<载自:Dive Into Python>

你可能经常看到罗马数字,即你没有意识到他们。你可能曄在老电(sh)影或者电(sh)视中看到他们Q?span class="quote">版权所?MCMXLVI?而不??span class="quote">版权所?tt class="literal">1946”)(j)Q或者在某图书馆或某大学的A(ch)献墙上看C??span class="quote">成立?MDCCCLXXXVIII”而不是?span class="quote">成立?tt class="literal">1888?。你也可能在某些文献的大U或者目录上看到他们。这是一个表C数字的pȝQ他能够真正回溯到远古的|马帝国Q因此而得名)(j)?/p>

在罗马数字中Q利?个不同字母进行重复或者组合来表达各式各样的数字?/p>

  • I = 1
  • V = 5
  • X = 10
  • L = 50
  • C = 100
  • D = 500
  • M = 1000

下面是关于构造罗马数字的一些通用的规则的介绍Q?/p>

  • 字符是叠加的?I表示1, II表示2, ?tt class="literal">III表示3. VI 表示 6 (字面上ؓ(f)逐字W相? ?span class="quote">5 ?1?, VII 表示 7, VIII 表示 8.
  • 能够?0整除的字W?I, X, C, ?M)臛_可以重复三次. 对于4, 你则需要利用下一个最大的能够?整除的字W进行减操作得到Q你不能?tt class="literal">4 表示?IIII; 而应表示?IV (比?span class="quote">5?1?。数?tt class="literal">40写成XL (?tt class="literal">50?tt class="literal">10), 41 写成 XLI, 42 写成 XLII, 43 写成 XLIII, ?44 写成 XLIV (?tt class="literal">50 ?tt class="literal">10, 然后?tt class="literal">5?tt class="literal">1).
  • cM的,对于数字 9,你必d用下一个能够被10整除的字W进行减操作得到: 8 表示?VIII, ?9 则表CZؓ(f) IX (?tt class="literal">10 ?tt class="literal">1), 而不?VIIII (因ؓ(f)字符I 不能q箋(hu)重复四次)。数?tt class="literal">90 表示?XC, 900 表示?CM.
  • ?整除的字W不能重复。数?tt class="literal">10 常表CZؓ(f)X, 而从来不?tt class="literal">VV来表C。数?tt class="literal">100常表CZؓ(f)C, 也从来不表示?LL.
  • |马数字l常从高?sh)到低位书写Q从左到右阅读,因此不同序的字W意义大不相同?tt class="literal">DC 表示 600; ?tt class="literal">CD 是一个完全不同的数字(?tt class="literal">400, 也就是比500 ?tt class="literal">100). CI 表示 101; ?tt class="literal">IC 甚至不是一个合法的|马字母Q因Z不能直接从数?tt class="literal">100减去1; 比需要写?tt class="literal">XCIX, 意思是 ?tt class="literal">100 ?tt class="literal">10, 然后加上数字9Q也是?10?tt class="literal">1的数?.
注意
本章译者注Q“被5整除的数”这个译法ƈ不严谨,因ؓ(f)所有被10整除的数也能够被5整除Q此处表辄含义是:(x)那些包含?的含义的|马数字字符?/td>


2006-10-24 09:52 发表评论
]]>
ACE_Rector + UDP 报错. .http://www.shnenglu.com/lovelypig/archive/2006/10/20/13890.htmlFri, 20 Oct 2006 02:10:00 GMThttp://www.shnenglu.com/lovelypig/archive/2006/10/20/13890.htmlhttp://www.shnenglu.com/lovelypig/comments/13890.htmlhttp://www.shnenglu.com/lovelypig/archive/2006/10/20/13890.html#Feedback0http://www.shnenglu.com/lovelypig/comments/commentRss/13890.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/13890.html (tng)

#include (tng) " stdafx.h "
#include (tng)
" ace/OS_NS_time.h "
#include (tng)
" ace/Log_Msg.h "
#include (tng)
" ace/Reactor.h "
#include (tng)
" ace/Event_Handler.h "
#include (tng)
" ace/INET_Addr.h "
#include (tng)
" ace/SOCK_Dgram.h "
#include (tng)
" ace/TP_Reactor.h "
#include (tng)
" ace/WFMO_Reactor.h "

class  (tng)ClientRecv (tng): (tng) public  (tng)ACE_Event_Handler
{
public :
 (tng) (tng) (tng) (tng)
virtual  (tng) ~ ClientRecv (tng)() {}

 (tng) (tng) (tng) (tng)
int  (tng)open (tng)( const  (tng)ACE_INET_Addr (tng) & bind_addr);

 (tng) (tng) (tng) (tng)
//  (tng)Get (tng)this (tng)handler's (tng)I(yng)/O (tng)handle.
 (tng) (tng) (tng) (tng) virtual  (tng)ACE_HANDLE (tng)get_handle (tng)( void ) (tng) const
 (tng) (tng) (tng) (tng)
{ (tng) return  (tng) this -> udp.get_handle(); (tng)}

 (tng) (tng) (tng) (tng)
virtual  (tng) int  (tng)handle_input (tng)(ACE_HANDLE (tng)fd (tng) =  (tng)ACE_INVALID_HANDLE);

 (tng) (tng) (tng) (tng)
//  (tng)Called (tng)when (tng)this (tng)handler (tng)is (tng)removed (tng)from (tng)the (tng)ACE_Reactor.
 (tng) (tng) (tng) (tng) virtual  (tng) int  (tng)handle_close (tng)(ACE_HANDLE (tng)handle,
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)ACE_Reactor_Mask (tng)close_mask);
 (tng) (tng) (tng) (tng)
 (tng) (tng) (tng) (tng)ACE_SOCK_Dgram (tng)udp;
}
;


int
ClientRecv::open (tng)(
const  (tng)ACE_INET_Addr (tng) & bind_addr)
{
 (tng) (tng) (tng) (tng)
if  (tng)( this -> udp.open (tng)(bind_addr, (tng) 1 ) (tng) ==  (tng) - 1 )
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)ACE_ERROR_RETURN (tng)((LM_ERROR,
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)ACE_TEXT (tng)(
" %p\n " ),
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)ACE_TEXT (tng)(
" udp.open " )),
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
- 1 );
 (tng) (tng) (tng) (tng)
 (tng) (tng) (tng) (tng)
return  (tng) this -> reactor (tng)() -> register_handler
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)(
this , (tng)ACE_Event_Handler::READ_MASK (tng));
}



int  (tng)
ClientRecv::handle_close (tng)(ACE_HANDLE (tng)handle,
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)ACE_Reactor_Mask (tng)close_mask)
{
 (tng) (tng) (tng) (tng)
if  (tng)(close_mask (tng) ==  (tng)ACE_Event_Handler::WRITE_MASK)
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
return  (tng) 0 ;
 (tng) (tng) (tng) (tng)close_mask (tng)
=  (tng)ACE_Event_Handler::ALL_EVENTS_MASK (tng) |
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)ACE_Event_Handler::DONT_CALL;
 (tng) (tng) (tng) (tng)
this -> reactor (tng)() -> remove_handler (tng)( this , (tng)close_mask);
 (tng) (tng) (tng) (tng)
this -> udp.close();
 (tng) (tng) (tng) (tng)delete (tng)
this ;
 (tng) (tng) (tng) (tng)
return  (tng) 0 ;
}


int  (tng)
ClientRecv::handle_input (tng)(ACE_HANDLE (tng)fd (tng))
{
 (tng) (tng) (tng) (tng)
char  (tng) (tng)buffer[ 8192 ] (tng) =  (tng) { 0 } ;
 (tng) (tng) (tng) (tng)ACE_INET_Addr (tng) (tng)peer_addr;
 (tng) (tng) (tng) (tng)
if ( - 1  (tng) ==  (tng) this -> udp.recv(buffer, 8192 ,peer_addr))
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)ACE_ERROR_RETURN (tng)((LM_ERROR,
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)ACE_TEXT (tng)(
" %p\n " ),
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)ACE_TEXT (tng)(
" udp.recv " )),
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
- 1 );
 (tng) (tng) (tng) (tng)
 (tng) (tng) (tng) (tng)ACE_DEBUG((LM_INFO,
" %s\n " ,peer_addr.get_host_addr()));
 (tng) (tng) (tng) (tng)
return  (tng) 0 ;
}


DWORD (tng)WINAPI (tng)LoopThread(LPVOID (tng)lparam)
{
 (tng) (tng) (tng) (tng)ACE_Reactor::instance (tng)()
-> run_reactor_event_loop (tng)();
 (tng) (tng) (tng) (tng)
return  (tng) (tng) 0 ;
}


int  (tng)_tmain( int  (tng)argc, (tng)_TCHAR *  (tng)argv[])
{
 (tng) (tng) (tng) (tng)ACE_INET_Addr (tng)bind_addr(
10703 );
 (tng) (tng) (tng) (tng)ClientRecv (tng) (tng)client;
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)client.reactor(ACE_Reactor::instance (tng)()); (tng) (tng)
 (tng) (tng) (tng) (tng)
if ( - 1  (tng) ==  (tng)client.open(bind_addr))
 (tng) (tng) (tng) (tng)
{
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
return  (tng) - 1 ;
 (tng) (tng) (tng) (tng)}

 (tng) (tng) (tng) (tng)
 (tng) (tng) (tng) (tng)CreateThread(NULL,NULL,LoopThread,
0 , 0 , 0 );
 (tng) (tng) (tng) (tng)ACE_INET_Addr (tng)send_addr;
 (tng) (tng) (tng) (tng)
for ( int  (tng)i = 1024 ;i < 3333 ;i ++ )
 (tng) (tng) (tng) (tng)
{
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)ACE_DEBUG((LM_INFO,
" %d (tng)\n " ,i));
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)send_addr.
set (i, " 192.168.3.147 " );
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)Sleep(
5000 );
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
if (client.udp.send( " ttt " , 3 ,send_addr) (tng) ==  (tng) - 1 )
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
{
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)ACE_DEBUG((LM_INFO,
" %p " ));
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
break ;
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)}

 (tng) (tng) (tng) (tng)}

 (tng) (tng) (tng) (tng)system(
" pause " );
 (tng) (tng) (tng) (tng)ACE_Reactor::instance (tng)()
-> end_reactor_event_loop (tng)();
 (tng) (tng) (tng) (tng)
return  (tng) 0 ;
}




报错: (tng)
udp.recv: (tng)connection (tng)reset (tng)
p?: (tng)handle (tng)is (tng)not (tng)a (tng)socket (tng)

莫非反应器只能用于TCP? , 没办法,先用WSAAsyncSelect吧?

2006-10-20 10:10 发表评论
]]>
<<回你w边>> -- 南拳妈妈http://www.shnenglu.com/lovelypig/archive/2006/10/09/13492.htmlMon, 09 Oct 2006 11:21:00 GMThttp://www.shnenglu.com/lovelypig/archive/2006/10/09/13492.htmlhttp://www.shnenglu.com/lovelypig/comments/13492.htmlhttp://www.shnenglu.com/lovelypig/archive/2006/10/09/13492.html#Feedback0http://www.shnenglu.com/lovelypig/comments/commentRss/13492.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/13492.html  (tng)

火R慢慢地往?br />烟雾弥O着思念
~绕一圈又一?br />沉默的我睁开?br />看着H外的蓝?br />H中的我在流?br />过你曾说的?br />U满?jin)向日?br />H然哽咽一切一?br />我多惛_你n?br />乘坐着旋{木马的乐?br />看幸{动得多么?br />我多惛_你n?br />走过最初相遇的地点
好让我再从头复习(fn)一?/p>

我早已没有感?br />如果想你多一?br />׃(x)伤我多一?br />抛开?jin)所有时?br />让自己心(j)情沉淀(wn)
好能飞出q世?br />过你曾说的?br />U满?jin)向日?br />我的眼泪抵不M?br />no



2006-10-09 19:21 发表评论
]]>
攑ց的最后一?/title><link>http://www.shnenglu.com/lovelypig/archive/2006/10/08/13441.html</link><dc:creator>子</dc:creator><author>子</author><pubDate>Sun, 08 Oct 2006 01:51:00 GMT</pubDate><guid>http://www.shnenglu.com/lovelypig/archive/2006/10/08/13441.html</guid><wfw:comment>http://www.shnenglu.com/lovelypig/comments/13441.html</wfw:comment><comments>http://www.shnenglu.com/lovelypig/archive/2006/10/08/13441.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/lovelypig/comments/commentRss/13441.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/lovelypig/services/trackbacks/13441.html</trackback:ping><description><![CDATA[ <p>E里糊涂的q完?jin)七天。今天下午杰毛粒和他们家的香客发生争执,生猛的香客把杰毛_的眼睛t伤?jin);文鸡上午摩托车被撞?jin)。害我晚上提?j)吊胆,生怕自׃(x)有什么不(我们三个同年同月同日生)(j)。还好,现在能写下这些文字,p明我什么事都没有?/p> <p>晚上d铁板烧,王斌和个蒙古大夫一P点了(jin)很多东西Q吃又吃不完?/p> <p>因ؓ(f)帮侄女配?sh)脑Q认识了(jin)一个叫刘昕的可爱小MM?/p> <img src ="http://www.shnenglu.com/lovelypig/aggbug/13441.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/lovelypig/" target="_blank">子</a> 2006-10-08 09:51 <a href="http://www.shnenglu.com/lovelypig/archive/2006/10/08/13441.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>攑ց的第一?/title><link>http://www.shnenglu.com/lovelypig/archive/2006/10/05/13374.html</link><dc:creator>子</dc:creator><author>子</author><pubDate>Thu, 05 Oct 2006 06:03:00 GMT</pubDate><guid>http://www.shnenglu.com/lovelypig/archive/2006/10/05/13374.html</guid><wfw:comment>http://www.shnenglu.com/lovelypig/comments/13374.html</wfw:comment><comments>http://www.shnenglu.com/lovelypig/archive/2006/10/05/13374.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/lovelypig/comments/commentRss/13374.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/lovelypig/services/trackbacks/13374.html</trackback:ping><description><![CDATA[ <p>今天7点半起床Q到火R?点,坐R到南?炏V南站h׃h估计了(jin)一下, 排队要排半个时Q然后买张下午的,再然后傍晚的时候回家。一天就毁了(jin)。毅然离开Q坐?jin)到暮云的RQ在大托收费站下车,{了(jin)一?x)儿Q就有一辆到南岳的中巴过来了(jin)。好happy的上?jin)R。到?2炏V?/p> <p>下午去见?jin)几个朋友?x)杰毛_做生意Q忙得不行。灰老鼠在家砌房子。然后,我们一起去?jin)自由地带吃东西。王斌过?jin)一?x)儿也来了(jin)。吃完东西,帮灰老鼠的哥哥看?sh)脑Q原来电(sh)脑被氓强X?jin),下?jin)个超U兔子,解决问题Q闪人。去伯伯家看L(fng)。爷爷不在家Q帮红姐看?sh)脑Q电(sh)脑被氓强X?jin),下?jin)个超U兔子,除了(jin)中文上网Q雅虎助手两个大氓没赶跑,其它的都赶跑?jin)。闪人。。。不知道闪到哪去Q回家补睡?/p> <p>晚上睡醒Q去莉施剪了(jin)个头发。看到n和她同学竟然也在洗头发Q还带了(jin)个很PP的洋妞。剪完头发,打了(jin)个电(sh)话给猴子Q喝?jin)一厅可乐,看了(jin)一?x)儿街,我们军_d烤鱼。打?jin)?sh)话给徒弟Q徒弟跟个精武馆的弟子约?x),接?jin)徒弟q来吃东ѝ{眼到十点。吃完东西,我决定去上网Q在|上和希希讨Z么是BF。下Uѝ吃?jin)碗饺子Q饺子店老板很面熟,名字好像叫荷花?/p> <p>骑着ľ{?jin)几圈,P回家。听?jin)无数次《全世界q》,打开?sh)脑Q记下今天做?jin)什么事情。万一失忆?jin),凭着q些Q兴怼(x)记v点什么?/p> <img src ="http://www.shnenglu.com/lovelypig/aggbug/13374.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/lovelypig/" target="_blank">子</a> 2006-10-05 14:03 <a href="http://www.shnenglu.com/lovelypig/archive/2006/10/05/13374.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title><<飞逝的雄鹰>> U鲁民歌http://www.shnenglu.com/lovelypig/archive/2006/09/19/12693.htmlMon, 18 Sep 2006 16:55:00 GMThttp://www.shnenglu.com/lovelypig/archive/2006/09/19/12693.htmlhttp://www.shnenglu.com/lovelypig/comments/12693.htmlhttp://www.shnenglu.com/lovelypig/archive/2006/09/19/12693.html#Feedback0http://www.shnenglu.com/lovelypig/comments/commentRss/12693.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/12693.html 《El condor pasa?/strong> 是一首反抗西班牙D民者的南美U鲁民歌Q后被Paul Simon重唱l改~,用英文翻唱。这首旋律已l被列入联合国世界文化遗产了(jin).宁静(rn),深邃,高远. 让h?j)境明?是不可多的的优秀作品.

El Condor Pasa的原版据传是ZU鲁自由战士Tupac Amaro的故事?780q_(d)他在领导一场反抗西班牙人的起义中被宻Id变成一只CondorQ永q翱于安第斯山上。秘鲁h民暨此体现对自由的追求不息,而歌名的直译是"雄鹰在飞"?



I\'d rather be a sparrow than a snail
Yes I would, if I could, I surely would, hm-m
I\'d rather be a hammer than a nail
Yes I would, if I only could, I surely would, hm-m



Away, I\'d rather sail away
Like a swan that\'s here and gone
A man gets tied up to the ground
He gives the world its saddest sound
Its saddest sound



I\'d rather be a forest than a street
Yes I would, if I could, I surely would
I\'d rather feel the earth beneath my feet
Yes I would, if I only could, I surely wou


下蝲



2006-09-19 00:55 发表评论
]]>
真的是随W?/title><link>http://www.shnenglu.com/lovelypig/archive/2006/09/17/12596.html</link><dc:creator>子</dc:creator><author>子</author><pubDate>Sun, 17 Sep 2006 13:47:00 GMT</pubDate><guid>http://www.shnenglu.com/lovelypig/archive/2006/09/17/12596.html</guid><wfw:comment>http://www.shnenglu.com/lovelypig/comments/12596.html</wfw:comment><comments>http://www.shnenglu.com/lovelypig/archive/2006/09/17/12596.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/lovelypig/comments/commentRss/12596.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/lovelypig/services/trackbacks/12596.html</trackback:ping><description><![CDATA[ <p> <img height="20" src="http://www.shnenglu.com/Emoticons/QQ/34.gif" width="20" border="0" /> <img height="20" src="http://www.shnenglu.com/Emoticons/QQ/34.gif" width="20" border="0" />扄朋友?<br /><br /><br />今天在步行街吃了(jin)一酸辣粉+两串鱉K, d不行, 好像是胃在疼? (tng)我亲q?我向你保?下次再也不吃 (tng)酸G_?两串鱉K?</p> <img src ="http://www.shnenglu.com/lovelypig/aggbug/12596.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/lovelypig/" target="_blank">子</a> 2006-09-17 21:47 <a href="http://www.shnenglu.com/lovelypig/archive/2006/09/17/12596.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>生成的小E序的技?/title><link>http://www.shnenglu.com/lovelypig/archive/2006/09/13/12420.html</link><dc:creator>子</dc:creator><author>子</author><pubDate>Wed, 13 Sep 2006 09:41:00 GMT</pubDate><guid>http://www.shnenglu.com/lovelypig/archive/2006/09/13/12420.html</guid><wfw:comment>http://www.shnenglu.com/lovelypig/comments/12420.html</wfw:comment><comments>http://www.shnenglu.com/lovelypig/archive/2006/09/13/12420.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/lovelypig/comments/commentRss/12420.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/lovelypig/services/trackbacks/12420.html</trackback:ping><description><![CDATA[A:<br /><div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /><span style="COLOR: #000000">t (tng)_tmain(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> (tng)argc, (tng)_TCHAR</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000"> (tng)argv[])<br /><img id="Codehighlighter1_35_294_Open_Image" onclick="this.style.display='none'; Codehighlighter1_35_294_Open_Text.style.display='none'; Codehighlighter1_35_294_Closed_Image.style.display='inline'; Codehighlighter1_35_294_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_35_294_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_35_294_Closed_Text.style.display='none'; Codehighlighter1_35_294_Open_Image.style.display='inline'; Codehighlighter1_35_294_Open_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /></span><span id="Codehighlighter1_35_294_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img src="http://www.shnenglu.com/images/dot.gif" /></span><span id="Codehighlighter1_35_294_Open_Text"><span style="COLOR: #000000">{<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng)typedef (tng)</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> (tng)(WINAPI (tng)</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">myMsg)( (tng)I(yng)N (tng)HWND (tng)hWnd,IN (tng)LPCSTR (tng)lpText, (tng)I(yng)N (tng)LPCSTR (tng)lpCaption,IN (tng)UINT (tng)uType);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng)HANDLE (tng)m_hDLL (tng)</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> (tng)::LoadLibrary(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">user32.dll</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng)myMsg (tng)msg (tng)</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> (tng)(myMsg)GetProcAddress((HMODULE)m_hDLL, (tng)</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">MessageBoxA</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">); (tng)<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng)(</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">msg)(NULL,</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">TEST</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">TEST</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng)<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng)</span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> (tng)</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span></span></div><br />B:<br /><div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> (tng)_tmain(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> (tng)argc, (tng)_TCHAR</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000"> (tng)argv[])<br /><img id="Codehighlighter1_37_86_Open_Image" onclick="this.style.display='none'; Codehighlighter1_37_86_Open_Text.style.display='none'; Codehighlighter1_37_86_Closed_Image.style.display='inline'; Codehighlighter1_37_86_Closed_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockStart.gif" align="top" /><img id="Codehighlighter1_37_86_Closed_Image" style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_37_86_Closed_Text.style.display='none'; Codehighlighter1_37_86_Open_Image.style.display='inline'; Codehighlighter1_37_86_Open_Text.style.display='inline';" src="http://www.shnenglu.com/images/OutliningIndicators/ContractedBlock.gif" align="top" /></span><span id="Codehighlighter1_37_86_Closed_Text" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><img src="http://www.shnenglu.com/images/dot.gif" /></span><span id="Codehighlighter1_37_86_Open_Text"><span style="COLOR: #000000">{<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng)MessageBoxA(NULL,</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">test</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">test</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">);<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/InBlock.gif" align="top" /> (tng) (tng) (tng) (tng)</span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> (tng)</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;<br /><img src="http://www.shnenglu.com/images/OutliningIndicators/ExpandedBlockEnd.gif" align="top" />}</span></span><span style="COLOR: #000000"><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /><br /><img src="http://www.shnenglu.com/images/OutliningIndicators/None.gif" align="top" /></span></div><br />A生成的exe 的大?< B<br /><img src ="http://www.shnenglu.com/lovelypig/aggbug/12420.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/lovelypig/" target="_blank">子</a> 2006-09-13 17:41 <a href="http://www.shnenglu.com/lovelypig/archive/2006/09/13/12420.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title><蜥蜴>http://www.shnenglu.com/lovelypig/archive/2006/09/08/12153.htmlFri, 08 Sep 2006 01:47:00 GMThttp://www.shnenglu.com/lovelypig/archive/2006/09/08/12153.htmlhttp://www.shnenglu.com/lovelypig/comments/12153.htmlhttp://www.shnenglu.com/lovelypig/archive/2006/09/08/12153.html#Feedback0http://www.shnenglu.com/lovelypig/comments/commentRss/12153.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/12153.html
惌v男主角用鞋带女主角l在凌上的那幕,差没感动得掉眼?

2006-09-08 09:47 发表评论
]]>
我生病了(jin)http://www.shnenglu.com/lovelypig/archive/2006/09/06/12072.htmlWed, 06 Sep 2006 01:10:00 GMThttp://www.shnenglu.com/lovelypig/archive/2006/09/06/12072.htmlhttp://www.shnenglu.com/lovelypig/comments/12072.htmlhttp://www.shnenglu.com/lovelypig/archive/2006/09/06/12072.html#Feedback0http://www.shnenglu.com/lovelypig/comments/commentRss/12072.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/12072.html今天我生病了(jin)Q好像是吃了(jin)什么坏东西Q肚子不舒服。请?jin)半天假在寝室睡觉。回惛_q的东西Q早上面包,昨晚盒饭。前几天q开玩笑_(d)肚子g是我|我爱吃什么就吃什么。现在可好?/p>


不喜Ƣ住宿舍。一是因为没有自qI间Q二是因为最q又不能上网?jin)?隔壁宿舍把电(sh)脑当二手卖了(jin)Q所以,他们也不兛_(j)能不能上|。可苦了(jin)我?/p>

因ؓ(f)肚子不舒服,把我塞给它的东西都留着不消化,呕吐完,U闷Q我中午没吃什么呀Q怎么能吐q么多。肚子呀肚子Q你可真历害?/p>

睡了(jin)一觉v来,头晕晕的。我应该d点容易消化的东西?/p>

... ...

 (tng)



2006-09-06 09:10 发表评论
]]>
ACE_NT_Servicehttp://www.shnenglu.com/lovelypig/archive/2006/08/31/11878.htmlThu, 31 Aug 2006 01:15:00 GMThttp://www.shnenglu.com/lovelypig/archive/2006/08/31/11878.htmlhttp://www.shnenglu.com/lovelypig/comments/11878.htmlhttp://www.shnenglu.com/lovelypig/archive/2006/08/31/11878.html#Feedback2http://www.shnenglu.com/lovelypig/comments/commentRss/11878.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/11878.html #include (tng) " ace/Singleton.h "
#include (tng)
" ace/Mutex.h "
#include (tng)
" ace/Event_Handler.h "
#include (tng)
< ace / NT_Service.h >
#include (tng)
< ace / Log_Msg.h >

#include (tng)
< iostream >
using  (tng) namespace  (tng)std;

class  (tng)MYService: public  (tng)ACE_NT_Service
{
 (tng) (tng) (tng) (tng)
bool  (tng)m_stop;
public :
 (tng) (tng) (tng) (tng)MYService():ACE_NT_Service(
" MyACEService_4 " , 0 ,ACE_NT_SERVICE_START_TIMEOUT,
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)SERVICE_WIN32_OWN_PROCESS (tng)
|  (tng)SERVICE_INTERACTIVE_PROCESS),m_stop( false ) {
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)}

 (tng) (tng) (tng) (tng)
virtual  (tng) int  (tng)svc (tng)( void );
 (tng) (tng) (tng) (tng)
virtual  (tng) void  (tng)handle_control (tng)(DWORD (tng)control_code);
 (tng) (tng) (tng) (tng)
virtual  (tng) ~ MYService() {}
}
;

typedef (tng)ACE_Singleton
< MYService, (tng)ACE_Mutex >  (tng)SERVICE;

int  (tng)MYService::svc (tng)( void )
{
 (tng) (tng) (tng) (tng)report_status (tng)(SERVICE_RUNNING);
 (tng) (tng) (tng) (tng)
while ( ! m_stop)
 (tng) (tng) (tng) (tng)
{
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)Sleep(
2000 );
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)MessageBox(NULL,
" aaa " , " error " , 0 );
 (tng) (tng) (tng) (tng)}

 (tng) (tng) (tng) (tng)
return  (tng) 0 ;
}


void  (tng)MYService::handle_control (tng)(DWORD (tng)control_code)
{
 (tng) (tng) (tng) (tng)
if  (tng)(control_code (tng) ==  (tng)SERVICE_CONTROL_SHUTDOWN
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)
||  (tng)control_code (tng) ==  (tng)SERVICE_CONTROL_STOP)
 (tng) (tng) (tng) (tng)
{
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)report_status (tng)(SERVICE_STOP_PENDING);
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)m_stop (tng)
=  (tng) true ;
 (tng) (tng) (tng) (tng)}

 (tng) (tng) (tng) (tng)ACE_NT_Service::handle_control (tng)(control_code);
}


ACE_NT_SERVICE_DEFINE (tng)(MyACEService_4,
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)MYService,
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)ACE_TEXT (tng)(
" MyACEService_4 " ));

int  (tng)main( int  (tng)argc, (tng)_TCHAR *  (tng)argv[])
{
 (tng) (tng) (tng) (tng)
 (tng) (tng) (tng) (tng)ACE::init (tng)();
 (tng) (tng) (tng) (tng)ACE_NT_SERVICE_RUN (tng)(MyACEService_4,
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)SERVICE::instance (tng)(),
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)ret);
 (tng) (tng) (tng) (tng)
 (tng) (tng) (tng) (tng)ACE::fini (tng)();

/*  (tng) (tng) (tng) (tng)安装服务
 (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng) (tng)ACE::init (tng)();
 (tng) (tng) (tng) (tng)SERVICE::instance()->insert();
 (tng) (tng) (tng) (tng)ACE::fini (tng)();
*/

 (tng) (tng) (tng) (tng)
return  (tng) 0 ;
}




2006-08-31 09:15 发表评论
]]>
ACE的内存管?/title><link>http://www.shnenglu.com/lovelypig/archive/2006/08/30/11851.html</link><dc:creator>子</dc:creator><author>子</author><pubDate>Wed, 30 Aug 2006 06:43:00 GMT</pubDate><guid>http://www.shnenglu.com/lovelypig/archive/2006/08/30/11851.html</guid><wfw:comment>http://www.shnenglu.com/lovelypig/comments/11851.html</wfw:comment><comments>http://www.shnenglu.com/lovelypig/archive/2006/08/30/11851.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/lovelypig/comments/commentRss/11851.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/lovelypig/services/trackbacks/11851.html</trackback:ping><description><![CDATA[     摘要: 分配器?tng)描q? ACE_Allocator (tng)ACE中的分配器类的接口类。这些类使用l承和动态绑定来提供灉|性? ACE_Static_Allocator (tng)该分配器理固定大小的内存。每当收到分配内存的hӞ它就Ud内部指针、以q回内存chunkQ“大块”)(j)。它q假定内存(sh)旦被分配Q就再也不会(x)被释放? ACE_Cached_Allocator (tng)该分配器预先分配内存池,其中含有特定?..  <a href='http://www.shnenglu.com/lovelypig/archive/2006/08/30/11851.html'>阅读全文</a><img src ="http://www.shnenglu.com/lovelypig/aggbug/11851.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/lovelypig/" target="_blank">子</a> 2006-08-30 14:43 <a href="http://www.shnenglu.com/lovelypig/archive/2006/08/30/11851.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>C(jin)Chttp://www.shnenglu.com/lovelypig/archive/2006/08/21/11544.htmlMon, 21 Aug 2006 15:01:00 GMThttp://www.shnenglu.com/lovelypig/archive/2006/08/21/11544.htmlhttp://www.shnenglu.com/lovelypig/comments/11544.htmlhttp://www.shnenglu.com/lovelypig/archive/2006/08/21/11544.html#Feedback0http://www.shnenglu.com/lovelypig/comments/commentRss/11544.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/11544.html《ACE卷二?br />《OOD?br />《Effectivec++》第三版
早一D|候看《道法自?面向对像》,看到后面几章看不下去?jin),通篇的设计模式。没折,我得好好补上q珍늚一课?今天看到W一个模式,抽象工厂?

星际不玩?jin),每天中午和同事打帝国时代。:(x)Q很多h哦?br />晚上也不知道玩什么才好。玩?jin)一?x)极品飞车,老是最后一名,真没劌Ӏ?br />
最q没有IE?换了(jin)一个新的浏览器. "Opera", 挺方便的,看v来也大方. (tng) 按住右键摇两?面关闭了(jin),很适合我这L(fng)懒h.你不知道每天扑ְXX,关闭H口,得浪Ҏ(gu)多大力气. (tng) 真方便呀真方?



2006-08-21 23:01 发表评论
]]>
<ZT>爆笑武侠http://www.shnenglu.com/lovelypig/archive/2006/08/21/11543.htmlMon, 21 Aug 2006 14:43:00 GMThttp://www.shnenglu.com/lovelypig/archive/2006/08/21/11543.htmlhttp://www.shnenglu.com/lovelypig/comments/11543.htmlhttp://www.shnenglu.com/lovelypig/archive/2006/08/21/11543.html#Feedback0http://www.shnenglu.com/lovelypig/comments/commentRss/11543.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/11543.html

2006-08-21 22:43 发表评论
]]>
回家前夜http://www.shnenglu.com/lovelypig/archive/2006/08/04/10831.htmlThu, 03 Aug 2006 19:28:00 GMThttp://www.shnenglu.com/lovelypig/archive/2006/08/04/10831.htmlhttp://www.shnenglu.com/lovelypig/comments/10831.htmlhttp://www.shnenglu.com/lovelypig/archive/2006/08/04/10831.html#Feedback0http://www.shnenglu.com/lovelypig/comments/commentRss/10831.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/10831.html一q一度的D,按我们家乡的说法,每年q个时?先h׃(x)着鬼门兛_着,来家里做? 而我们这些后人就准备好香火纸׃? 今年我在长沙,d不是很远.家h打电(sh)话要我回?׃ؓ(f)q事. (tng)
我要请两天假. 当时BOSS正在看SOFTICE,看都没看请假?{了(jin)?啥也没问,以至于准备好的请假词汇打?jin)水?

在看?sh)?jing)的时候收C个短?来自庯,内容触目惊心(j),原文如下:
杨其屋里跟别个打?杨某l别人砍?现在在派出所. 你姐夫肖军也来了(jin).我还?sh)懂Z么事打架.

随即回了(jin)个电(sh)?他说杨旗在医?我说明天上午回去.

回去再看看是怎么回事.

往昔与他共渡的日子,历历在目.上次见他是刘杰结?他喝?jin)个烂?抓住刘杰p胡话.现在他在医院.. 我应该怎么? (tng)上次打架都是三年前的事情? (tng) 时候天不怕地不?一个؜h负我, 我回家拿?jin)菜刀,用报U包着,插在腰间.. (tng) (tng) 现在的我,每天坐在?sh)脑前码字的?q能回去? 我不知道.

一晚吧,明天早班车回?



2006-08-04 03:28 发表评论
]]>
错误: use of undefined type 'boost::STATIC_ASSERTION_FAILURE<x>' http://www.shnenglu.com/lovelypig/archive/2006/07/18/10180.htmlTue, 18 Jul 2006 02:20:00 GMThttp://www.shnenglu.com/lovelypig/archive/2006/07/18/10180.htmlhttp://www.shnenglu.com/lovelypig/comments/10180.htmlhttp://www.shnenglu.com/lovelypig/archive/2006/07/18/10180.html#Feedback0http://www.shnenglu.com/lovelypig/comments/commentRss/10180.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/10180.html
 (tng) (tng) (tng) // if your program traps here, it indicates taht your doing one of the following:
 (tng) (tng) (tng) // a) serializing an object of a type marked "track_never" through a pointer.
 (tng) (tng) (tng) // b) saving an non-const object of a type not markd "track_never)
 (tng) (tng) (tng) // Either of these conditions may be an indicator of an error usage of the
 (tng) (tng) (tng) // serialization library and should be double checked. (tng) See documentation on
 (tng) (tng) (tng) // object tracking.

解决:
BOOST_CLASS_TRACKING(MyClass, boost::serialization::track_never)



2006-07-18 10:20 发表评论
]]>
工作一q整http://www.shnenglu.com/lovelypig/archive/2006/07/05/9412.htmlTue, 04 Jul 2006 17:41:00 GMThttp://www.shnenglu.com/lovelypig/archive/2006/07/05/9412.htmlhttp://www.shnenglu.com/lovelypig/comments/9412.htmlhttp://www.shnenglu.com/lovelypig/archive/2006/07/05/9412.html#Feedback0http://www.shnenglu.com/lovelypig/comments/commentRss/9412.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/9412.html
太晚? 明天再写.

2006-07-05 01:41 发表评论
]]>
乐心(j)http://www.shnenglu.com/lovelypig/archive/2006/06/29/9206.htmlThu, 29 Jun 2006 14:46:00 GMThttp://www.shnenglu.com/lovelypig/archive/2006/06/29/9206.htmlhttp://www.shnenglu.com/lovelypig/comments/9206.htmlhttp://www.shnenglu.com/lovelypig/archive/2006/06/29/9206.html#Feedback0http://www.shnenglu.com/lovelypig/comments/commentRss/9206.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/9206.html乐心(j)真是个才?q(sh)(x)呤诗

无题
 (tng) (tng) (tng) 昨夜又去互动Q?/font>
 (tng) (tng) 盒饭基本没动?/font>
 (tng) (tng) 坐好不许乱动Q?/font>
 (tng) (tng) 累得不想再动?br />

好诗,好诗..

我决定好好向她学?

2006-06-29 22:46 发表评论
]]>
在公司过?/title><link>http://www.shnenglu.com/lovelypig/archive/2006/06/28/9091.html</link><dc:creator>子</dc:creator><author>子</author><pubDate>Wed, 28 Jun 2006 00:39:00 GMT</pubDate><guid>http://www.shnenglu.com/lovelypig/archive/2006/06/28/9091.html</guid><wfw:comment>http://www.shnenglu.com/lovelypig/comments/9091.html</wfw:comment><comments>http://www.shnenglu.com/lovelypig/archive/2006/06/28/9091.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/lovelypig/comments/commentRss/9091.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/lovelypig/services/trackbacks/9091.html</trackback:ping><description><![CDATA[因ؓ(f)宿舍停电(sh),热得要S,又要爬十七楼.所以昨天留在公叔R? <br /><br />发哥和石q在玩兽,我本来是{他们玩?再一块回ȝ.没想C们玩C炚w.于是我就w在沙发上睡着? <br /><br />因ؓ(f)没有枕头,所以一h,脖子有点不舒?.酔R? 加上一晚上h都开着,一晚上都觉得冷,一晚上都没睡好. <br /><br />下楼M早餐? ..<img src ="http://www.shnenglu.com/lovelypig/aggbug/9091.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/lovelypig/" target="_blank">子</a> 2006-06-28 08:39 <a href="http://www.shnenglu.com/lovelypig/archive/2006/06/28/9091.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>三张壁纸http://www.shnenglu.com/lovelypig/archive/2006/06/27/9055.htmlMon, 26 Jun 2006 16:25:00 GMThttp://www.shnenglu.com/lovelypig/archive/2006/06/27/9055.htmlhttp://www.shnenglu.com/lovelypig/comments/9055.htmlhttp://www.shnenglu.com/lovelypig/archive/2006/06/27/9055.html#Feedback0http://www.shnenglu.com/lovelypig/comments/commentRss/9055.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/9055.html 2901_04.jpg

2901_09.jpg

1631200_472733.jpg



2006-06-27 00:25 发表评论
]]>
很不q? 又失眠了(jin)http://www.shnenglu.com/lovelypig/archive/2006/06/26/9000.htmlSun, 25 Jun 2006 18:32:00 GMThttp://www.shnenglu.com/lovelypig/archive/2006/06/26/9000.htmlhttp://www.shnenglu.com/lovelypig/comments/9000.htmlhttp://www.shnenglu.com/lovelypig/archive/2006/06/26/9000.html#Feedback1http://www.shnenglu.com/lovelypig/comments/commentRss/9000.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/9000.html今天白天只睡一会(x)? 怎么又睡不着? (tng)

晚上的菜好像放了(jin)不少?睡着睡着爬v来喝? (tng) (tng) 一点睡意都没阿. (tng) 明天上班又要犯困? 军_明天M个牛? (tng) 睡前l喝一?也不知道不用. (tng)

临睡前吼一? 让我的健的w材都长满肥肉吧!!!(,减肥计划p|,,泡不到妞?

啥P事都没有. 也不知道写些什?.

认真睡觉才是王道?. 不JJYY? (tng) .



2006-06-26 02:32 发表评论
]]>
q程U程插入,获得其它q程ListCtrl信息http://www.shnenglu.com/lovelypig/archive/2006/06/26/8999.htmlSun, 25 Jun 2006 18:07:00 GMThttp://www.shnenglu.com/lovelypig/archive/2006/06/26/8999.htmlhttp://www.shnenglu.com/lovelypig/comments/8999.htmlhttp://www.shnenglu.com/lovelypig/archive/2006/06/26/8999.html#Feedback0http://www.shnenglu.com/lovelypig/comments/commentRss/8999.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/8999.html阅读全文

2006-06-26 02:07 发表评论
]]>
<转帖> 蛆扑֦?/title><link>http://www.shnenglu.com/lovelypig/archive/2006/06/22/8803.html</link><dc:creator>子</dc:creator><author>子</author><pubDate>Wed, 21 Jun 2006 16:54:00 GMT</pubDate><guid>http://www.shnenglu.com/lovelypig/archive/2006/06/22/8803.html</guid><wfw:comment>http://www.shnenglu.com/lovelypig/comments/8803.html</wfw:comment><comments>http://www.shnenglu.com/lovelypig/archive/2006/06/22/8803.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.shnenglu.com/lovelypig/comments/commentRss/8803.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/lovelypig/services/trackbacks/8803.html</trackback:ping><description><![CDATA[暖和的春天来?jin),万物都苏醒?jin)。苍蝇妈妈睡?jin)一个冬天,也醒来了(jin)。她从惔z里爬出来,嗡嗡的飞到厕所里,在大便上生下?jin)很多黑黑的、圆圆的c(din)?br />   春风轻轻地吹q,太阳光照着。厕所里的_水来暖和了(jin)。苍蝇妈妈下的卵慢慢地都zdhQ变成一又白又胖的蛆,它们在粪水里游来游去Q非常快乐?br />   有一天,蛲虫妈妈带着她的孩子到化_池中来游水。小蛆们看见蛲虫跟着妈妈在水里划来划去,它们一h到蛲虫妈妈n边,喊:(x) “妈妈!妈妈Q?br />   蛲虫妈妈说道Q“我不是你们的妈妈。我是小蛲虫的妈妈。”小蛆们问蛲虫妈妈:(x)“蛲虫妈妈,蛲虫妈妈Q?zhn)看见q我们的妈妈吗?h告诉我们Q我们的妈妈是什么样的呀Q?br />   蛲虫妈妈回答_(d)(x)“看见过。你们的妈妈和你们长得不一P你们自己L吧。”说着Q急急忙忙地和它的孩子们游走?jin)?br />   “谢谢?zhn)Q蛲虫妈妈!”小蛆们高高兴兴地向前游厅R?br />   q时Q一条蛔虫游q来?jin)。小蛆们看见蛔虫和它们长得不像,它们想一定是妈妈来了(jin)Q追上去喊妈妈:(x)“妈妈!妈妈Q?br />   蛔虫W着_(d)(x)“我不是你们的妈妈。我是小蛔虫的妈妈。你们的妈妈有六条腿Q到前面L吧!?br />   “谢谢?zhn)啦!蛔虫妈妈Q”小蛆们再向前游厅R?br />   一只蚊子飞q来?jin)。小蛆们看见蚊子有六条腿Q心(j)里想Q这回真的是妈妈来了(jin)。就q上dQ“妈妈!妈妈Q?br />   蚊子W着_(d)(x)“我不是你们的妈妈。我是小蚊子的妈妈。你们的妈妈长的胖胖的,到前面去扑֐。?br />   “谢谢?zhn)啦!蚊子妈妈Q”小蛆们再向前游厅R?br />   y坑边一只屎壳郎“哼哼”地叫着Q推着_走?jin)过来。小蛆们看见屎壳郎长的胖胖的也长着六只脚,高兴地想Q这回可真的扑ֈ妈妈?jin)。追?jin)上去,q声大喊Q“妈妈!妈妈Q?br />   屎壳郎笑着_(d)(x)“小朋友Q你们认错了(jin)。我不是你们的妈妈,我是屎壳郎的妈妈。你们的妈妈头顶上有两只大眼睛,I着黑衣服在IZ飞,pv歌来‘嗡嗡嗡’的Q你们到前面L扑֐Q?br />   “谢谢?zhn)啦!屎壳郎妈妈!”小蛆们再向前游厅R?br />   蛆们游呀、游呀Q游C泡稀屎边Q看见一只苍蝇坐在黄黄的大便上“嗡嗡嗡”地唱歌Q它们赶快游q去Q小声地问:(x)“请问?zhn)Q?zhn)看见了(jin)我们的妈妈吗?她胖胖的Q和我们长得一炚w不像Q头上有两只大眼睛Q有六条腿,I着黑衣服,pv歌来‘嗡嗡嗡’的………?br />   苍蝇听了(jin)“嗡嗡嗡”地Wv来,她说“唉Q傻孩子Q我是你们的妈妈呀Q?br />   蛆们听?jin),一齐摇摇尾巴说Q“奇怪!奇怪!我们的样子ؓ(f)什么跟(zhn)不一样呢Q?br />   苍蝇妈妈W着_(d)(x)“你们还呢。过几天你们?x)变成蛹Q再q几天,你们又会(x)长出六条腿来Q等腉K齐了(jin)Q就跟妈妈一样了(jin)Q就可以飞到M大便上细l地品尝?jin)。?br />   蛆们听?jin),高兴地在水里v跟头来:(x)“啊Q我们找到妈妈了(jin)Q我们找到妈妈了(jin)Q好妈妈Q好妈妈Q?zhn)快到我们q儿来吧Q?zhn)快到我们q儿来吧Q?br />   苍蝇妈妈在小蛆们的旁辚w来飞去,和她的蛆孩子们一块儿游玩M(jin)?br /><br /><br />在天涯看到这个奇恶心(j)的帖? (tng) 我决定{q来.<img src ="http://www.shnenglu.com/lovelypig/aggbug/8803.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/lovelypig/" target="_blank">子</a> 2006-06-22 00:54 <a href="http://www.shnenglu.com/lovelypig/archive/2006/06/22/8803.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>6.22http://www.shnenglu.com/lovelypig/archive/2006/06/22/8802.htmlWed, 21 Jun 2006 16:40:00 GMThttp://www.shnenglu.com/lovelypig/archive/2006/06/22/8802.htmlhttp://www.shnenglu.com/lovelypig/comments/8802.htmlhttp://www.shnenglu.com/lovelypig/archive/2006/06/22/8802.html#Feedback2http://www.shnenglu.com/lovelypig/comments/commentRss/8802.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/8802.html
再过两个星期,我就上了(jin)一q班?d7?L(fng)一天上?整整一q? 一q里,成长?成熟? 或者还有其它变?. 想不Z所以然?





2006-06-22 00:40 发表评论
]]>
毫无意外的睡?jin)一?/title><link>http://www.shnenglu.com/lovelypig/archive/2006/06/12/8440.html</link><dc:creator>子</dc:creator><author>子</author><pubDate>Sun, 11 Jun 2006 16:45:00 GMT</pubDate><guid>http://www.shnenglu.com/lovelypig/archive/2006/06/12/8440.html</guid><wfw:comment>http://www.shnenglu.com/lovelypig/comments/8440.html</wfw:comment><comments>http://www.shnenglu.com/lovelypig/archive/2006/06/12/8440.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.shnenglu.com/lovelypig/comments/commentRss/8440.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/lovelypig/services/trackbacks/8440.html</trackback:ping><description><![CDATA[ <p>q一觉睡得可真爽。睡之后打星际也特别带状况Q这不,一回都没输?呵呵Q尽选菜鸟揉ѝ?br /><br />晚上去nMMd落街吃口呌Q味道美的Q我军_下个星期再去?img height="20" src="http://www.shnenglu.com/Emoticons/QQ/03.gif" width="20" border="0" /><br /><br />p最q上班很?br /><br />李国帅最q在泡杨荣<br /><br />虫子最q要考英?br /><br />赵尉要考四U?br /><br />刘杰在家忙着生孩?br /><br />王斌在家和周芬甜?br /><br />何康在家h?br /><br />婷婷在干嘛呢<br /><br />q有眼镜妹,放暑假不知道?x)不会(x)回?br /><br />K新(chng)一妞,成天在家ML<br /><br />... ...<br /></p> <img src ="http://www.shnenglu.com/lovelypig/aggbug/8440.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/lovelypig/" target="_blank">子</a> 2006-06-12 00:45 <a href="http://www.shnenglu.com/lovelypig/archive/2006/06/12/8440.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Sleeplesshttp://www.shnenglu.com/lovelypig/archive/2006/06/11/8401.htmlSat, 10 Jun 2006 20:17:00 GMThttp://www.shnenglu.com/lovelypig/archive/2006/06/11/8401.htmlhttp://www.shnenglu.com/lovelypig/comments/8401.htmlhttp://www.shnenglu.com/lovelypig/archive/2006/06/11/8401.html#Feedback0http://www.shnenglu.com/lovelypig/comments/commentRss/8401.htmlhttp://www.shnenglu.com/lovelypig/services/trackbacks/8401.html明天星期?现在是凌晨三点多. 打算睡一整天?所?现在无论如何都不能睡.

最q一个星?几乎每天都是2,3点睡.早上8点半起床..咚咚咚跑到公?持箋(hu)一天脑力的消?q(sh)觉得?很久没有像现在这样不受打扰的写下一些文?C?j)?发发牢骚(d). 大多数的时?宿舍?x)冷不丁的冒出来一个h,对着你的屏幕看两?感到无趣之后,旋即d.住集体宿舍就是这样吧.

当我同时惌几句话的时?往往一句话也说不出? 因ؓ(f)不知道先说哪一句才? (tng) (tng)像载L侦听协议,一个ȝ,但要几台机器要?. q是要分个条理出?

现就以下几点说明q况.

生活: (tng) (tng)
 (tng) (tng) (tng) (tng) (tng) (tng) ?因ؓ(f)夏天来了(jin),所以买?jin)两背?j). :) (tng) 坦胸露背?不敢I去上班.虽然我挺喜欢?凉快? (tng)
 (tng) (tng) (tng) (tng) (tng) (tng) ?我姐说我再胖,q不得? 我也q样? 所以决定少吃点.早餐吃一麦片,好容易捱C?中午的饭菜比起学校来,要丰富很?厨师也很C的搞Ҏ(gu)营养的菜?只是味道?. 不敢恭维. (tng) ? q半夜三更说得吃?q真有点馋了(jin).晚上没有公司的吃? 所?形式多样? 一,去菜?jng)场买?自己DIY一晚?当然大多数时候是室友动手,我负责发表赞或批评的言?当然?大部分是赞美). (tng) ??一安?吃面.我喜Ƣ面?> 喜欢c粉. ?回到宿舍,打电(sh)话叫盒饭. ?L友那y饭.? 去西饼屋买面?饼干充饥.
 (tng) (tng) (tng) (tng) (tng) ?住宿?有蚊子咬?蚊子傻B,攄O型血不吸,专吸我这AB型的.怕是x(chng)换口?如果真是q样,我就原谅它们.
 (tng) (tng) (tng) (tng) (tng) ?奔L于宿舍与公司之间,倒也不远, 步行<10分钟.

工作:

感情:

未完?. 4点了(jin). C(jin),睡了(jin)..



2006-06-11 04:17 发表评论
]]>
þѸƵ| ޹˾þۺҰ | պƷþþþþþõӰ| ߳߳þþ91 | ĻӰӾþþѹۿ| ƷŮþAV| ɾþۺ777| þþƷëƬѹۿ| ˳AVɫۺϾþ| vaþþþͬ| þøŮ߳MBA| ޹Ʒþþϼ2| þþƷ99þ㽶| Ʒþþþþ| þӰԺҹƬ | ޾ƷۺϾþһ| ھƷþþþþþ97ţţ| 99þþþƷѹۿ| ŷ龫Ʒþþþþþþžž | ƷþĻ| һaƬþëƬ| ƷŮͬþþþõӰԺ| ޹˾ƷŮ˾þþ | ģ˽ĹƷþ| 99þ99þþƷƬ| ŷҹƷþþþþ˳| þþþþ| ޹Ʒһþ| Ʒþþ| þĻƷһ| 99ȳ˾ƷȾþ669| þרƷ| þþƷAV뽿ɫ | AVþþþò| þֻǾƷ23| Ʒþ| Ůþþ| 뾫ƷþѼ| þþþAVվ| þþþ97Һ| þþþòҰ¸߳|