<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="/xsl/rss.xsl" type="text/xsl" media="screen"?>
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:ppp="http://blog.sohu.com/rss/module/ppp/"
	>

	<channel>
		<title>没有名字但有一个blog</title>
		<link>http://nonamebutexist.blog.sohu.com/</link>
		<description><![CDATA[大悟无言。因为费话较多，所以没有名字。]]></description>
		<pubDate>Tue, 13 Nov 2007 09:15:00 +0800</pubDate>
		<generator>搜狐博客</generator>
		<ppp:ebi>6a0f3a4792</ppp:ebi>
		<image>
			<title>http://blog.sohu.com</title>
			<url>http://js.pp.sohu.com/ppp/blog/images/common/logo_150_60.gif</url>
			<link>http://blog.sohu.com/</link>
			<width>100</width>
			<height>43</height>
			<description>搜狐博客</description>
		</image>
		<item>
			<title>Kurumi</title>
			<link>http://nonamebutexist.blog.sohu.com/70292865.html</link>
			<comments>http://nonamebutexist.blog.sohu.com/70292865.html#comment</comments>
			<dc:creator>没有名字但有一个blog</dc:creator>
			<pubDate>Tue, 13 Nov 2007 09:15:00 +0800</pubDate>
			<category>大路与小道</category>
			<guid>http://nonamebutexist.blog.sohu.com/70292865.html</guid>
			<description><![CDATA[<p>&nbsp;<embed style="DISPLAY: block; MARGIN: 0px auto 10px; TEXT-ALIGN: center" src="http://player.youku.com/player.php/sid/XMjgxMjQxMg==/v.swf" width="480" height="418" type="application/x-shockwave-flash" autostart="false" loop="false"></embed></p>]]></description>
		</item>
		    
		
		<item>
			<title>Zend Studio for Linux字体显示不正确的解决办法</title>
			<link>http://nonamebutexist.blog.sohu.com/58673740.html</link>
			<comments>http://nonamebutexist.blog.sohu.com/58673740.html#comment</comments>
			<dc:creator>没有名字但有一个blog</dc:creator>
			<pubDate>Mon, 6 Aug 2007 18:53:15 +0800</pubDate>
			<category>编程和开发</category>
			<guid>http://nonamebutexist.blog.sohu.com/58673740.html</guid>
			<description><![CDATA[找了很久原因，发现是Zend Studio自带的JRE没有包含中文字体的原故。后来尝试在Zend目录中的JRE装上java-font，无奈不认，于是<br />$<span style="color: rgb(51, 0, 255); font-weight: bold; font-style: italic;"><span style="color: rgb(0, 0, 255);">./java -version</span></span><br />java version &quot;1.5.0_06&quot;<br />Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)<br />Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)<br /><br />确认Zend所带的JRE是1.5版。<br />初步决定替换掉Zend自带的JRE。<br /><br />1、先安装JRE1.5以及java-font<br />$<span style="color: rgb(51, 0, 255); font-weight: bold; font-style: italic;"><span style="color: rgb(0, 0, 255);"></span></span><span style="color: rgb(0, 0, 255); font-weight: bold;">sudo apt-get install sun-java5-jre &nbsp; </span><span style="color: rgb(0, 0, 255);"></span><span style="color: rgb(102, 102, 102);">#安装 JRE1.5</span><br />$<span style="color: rgb(51, 0, 255); font-weight: bold; font-style: italic;"><span style="color: rgb(0, 0, 255);"></span></span><span style="font-weight: bold; color: rgb(0, 0, 255);">sudo apt-get install sun-java5-fonts</span> &nbsp;&nbsp; <span style="color: rgb(102, 102, 102);">#安装java-font<br /><br /></span>2、备份及替换Zend Studio自带的JRE<br />$<span style="color: rgb(51, 0, 255); font-weight: bold; font-style: italic;"><span style="color: rgb(0, 0, 255);"></span></span><span style="font-weight: bold; color: rgb(0, 0, 255);">cd&nbsp; ~/Zend/ZendStudio-5.5.0&nbsp;</span>&nbsp;<span style="color: rgb(102, 102, 102);"> #转到Zend Studio的安装目录下</span><br />$<span style="color: rgb(51, 0, 255); font-weight: bold; font-style: italic;"><span style="color: rgb(0, 0, 255);"></span></span><span style="font-weight: bold; color: rgb(0, 0, 255);">mv jre jre.bak</span>&nbsp;&nbsp; <span style="color: rgb(102, 102, 102);">#改名备份Zend Studio自带的JRE</span><br />$<span style="color: rgb(51, 0, 255); font-weight: bold; font-style: italic;"><span style="color: rgb(0, 0, 255);"></span></span><span style="font-weight: bold; color: rgb(0, 0, 255);">ln -s /usr/lib/jvm/java-1.5.0-sun/jre ./jre</span>&nbsp;&nbsp; <span style="color: rgb(102, 102, 102);">#建立软链接至刚才安装到系统的JRE</span><br /><br />再次运行Zend Studio，问题解决～<br />]]></description>
		</item>
		    
		
		<item>
			<title>Quanta无法输入中文的解决办法</title>
			<link>http://nonamebutexist.blog.sohu.com/58618361.html</link>
			<comments>http://nonamebutexist.blog.sohu.com/58618361.html#comment</comments>
			<dc:creator>没有名字但有一个blog</dc:creator>
			<pubDate>Mon, 6 Aug 2007 14:02:03 +0800</pubDate>
			<category>编程和开发</category>
			<guid>http://nonamebutexist.blog.sohu.com/58618361.html</guid>
			<description><![CDATA[安装一个叫 scim-qtimm的包。如果有apt的话可以<br />sudo apt-get install scim-qtimm<br /><br />]]></description>
		</item>
		    
		
		<item>
			<title>面试Bamboo</title>
			<link>http://nonamebutexist.blog.sohu.com/52568240.html</link>
			<comments>http://nonamebutexist.blog.sohu.com/52568240.html#comment</comments>
			<dc:creator>没有名字但有一个blog</dc:creator>
			<pubDate>Wed, 27 Jun 2007 11:22:51 +0800</pubDate>
			<category>大路与小道</category>
			<guid>http://nonamebutexist.blog.sohu.com/52568240.html</guid>
			<description><![CDATA[<br />一个号称过了CMMi level 5的外资公司，主要做海外外包，上网查，发现这家公司有不少的的员工在网上发表言论对公司表示不满。想知道公司性质，没查到，查网站主机IP在香港，于是猜测是港资。<br /><br />星期一打电话过来了，让我星期二去面试。如果不是急招的话，大公司也很少这么做。星期二到了以后，先是做了一份笔试题，考的都是很基本的PHP编程，像我这样能做架构分析的程序员没有用舞之地。除了有一题出得有点偏，其它只能把初学PHP和MySQL的菜鸟考倒（完全没学过PHP和MySQL，C和SQL Server 2000学得好的人估计也蒙出一半）。题目很多但不够典型，我当时就在想如果我进了这家公司，第一件事就是帮他们重新出一份试卷。<br /><br />接着分别面试主管、人力资源部经理、开发部经理。主管，幸好不是他做我的主管。HR很和蔼，开发部经理应该是管理型的，所以没有具体问技术上的问题:P。谈完以后马上谈薪水，估计我要的薪水对他们来说有点高，而且可能资金并不是很充足所以各方面都要节约一些吧。<br /><br />先看看吧，我觉得应该还是有offer的，否则只能说明他们的面试流程需要改进或者面试官识人能力不够地道，哈哈。<br />]]></description>
		</item>
		    
		
		<item>
			<title>研制“攞你命3000+”过程中的一些感想</title>
			<link>http://nonamebutexist.blog.sohu.com/12524878.html</link>
			<comments>http://nonamebutexist.blog.sohu.com/12524878.html#comment</comments>
			<dc:creator>没有名字但有一个blog</dc:creator>
			<pubDate>Thu, 7 Sep 2006 00:01:47 +0800</pubDate>
			<category>生活点滴</category>
			<guid>http://nonamebutexist.blog.sohu.com/12524878.html</guid>
			<description><![CDATA[<p><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma">研发中的软件功能已经越来越复杂，目前已经集结十大超级</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma; mso-hansi-font-family: Tahoma">&ldquo;</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma">杀人武器</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma; mso-hansi-font-family: Tahoma">&rdquo;</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma">于一身，其中还使用了一些不太常见的技术，例如注册表重定向、指定环境变量、系统目录重定向，当然这些都是为了使软件能顺利的安装到</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; FONT-FAMILY: Tahoma; mso-bidi-font-family: 宋体">U</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma">盘而非本机硬盘上。为了配合</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; FONT-FAMILY: Tahoma; mso-bidi-font-family: 宋体">U</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma">盘生产厂商打假的行动，我们的软件还要具备获取硬件信息的能力，为此用到了一些很底层的系统函数。另外</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; FONT-FAMILY: Tahoma; mso-bidi-font-family: 宋体">U</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma">盘测速的功能也作为一个组件增加到软件研发进程中，需要用到一些我以前碰都没碰过的东西：直接读写扇区以获得连续读写速度的准确数值，为此读写时还必须对进程禁用系统缓存。</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; FONT-FAMILY: Tahoma; mso-bidi-font-family: 宋体"><p></p></span></p><p><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma">朋友问我现在开发的是什么软件，我只好自嘲的说正在研制集十大超级</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma; mso-hansi-font-family: Tahoma">&ldquo;</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma">杀人武器</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma; mso-hansi-font-family: Tahoma">&rdquo;</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma">于一身的</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma; mso-hansi-font-family: Tahoma">&ldquo;</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma">攞你命</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; FONT-FAMILY: Tahoma; mso-bidi-font-family: 宋体">3000+</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma; mso-hansi-font-family: Tahoma">&rdquo;</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma">。一不做二不休，当天就把软件的内部版本号定为</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma; mso-hansi-font-family: Tahoma">&ldquo;</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma">攞你命</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; FONT-FAMILY: Tahoma; mso-bidi-font-family: 宋体">3000+</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma; mso-hansi-font-family: Tahoma">&rdquo;</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma">。</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; FONT-FAMILY: Tahoma; mso-bidi-font-family: 宋体"><p></p></span></p><p><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma">做惯小软件和</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; FONT-FAMILY: Tahoma; mso-bidi-font-family: 宋体">ERP</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma">的我第一次做商业软件，真的有点迷惘。因为不知道为什么一个小小的软件需要用到三四万行代码，而且不断在增加新的功能。我不知道这些功能对最终用户是否真的有用。有时候我们必须照顾初级用户的第一感觉，不能让他们看着软件的界面一脸茫然，然而又不能让一些玩家级的用户感到太过简单。阿偲虽然不写代码，但毕竟是见过世面的人，深知这些道理，一语点醒了我这个梦中人。商业软件在投放市场之前，对用户群的确定是有猜测性质的，在这种情况下，只能猜测用户们需要的是什么，就算只有</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; FONT-FAMILY: Tahoma; mso-bidi-font-family: 宋体">10%</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma">的功能是对用户来说最有用的，只要能切合</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; FONT-FAMILY: Tahoma; mso-bidi-font-family: 宋体">50%</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma">的用户的需求，就已经算是达到目标了。下一步才能获得具体用户群，从而在用户群中反馈回来的信息中对软件进行改进。阿猜的比方不错，先记录在此以备以后警示自己：<u>其实现在的手机本身就是一个</u></span><u><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma; mso-hansi-font-family: Tahoma">&ldquo;</span></u><u><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma">攞你命</span></u><u><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; FONT-FAMILY: Tahoma; mso-bidi-font-family: 宋体">5000</span></u><u><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma; mso-hansi-font-family: Tahoma">&rdquo;</span></u><u><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma">，用户对功能强大的东西总是不会抗拒的。</span></u><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; mso-ascii-font-family: Tahoma">所以我现在总算明白，功能强大但使用上简单，这是我们程序员为此奋斗的目标啊！</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; FONT-FAMILY: Tahoma; mso-bidi-font-family: 宋体"><p></p></span></p><p><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; FONT-FAMILY: Tahoma; mso-bidi-font-family: 'Times New Roman'">OK</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; FONT-FAMILY: 宋体; mso-ascii-font-family: Tahoma; mso-hansi-font-family: 'Times New Roman'">，啥都不说了，好好努力吧。希望不久以后，有人能用上我的软件，叫好叫骂我都高兴。其实对我来说，它将是我三个月以来日夜辛劳的成果。</span><span style="FONT-SIZE: 9pt; LINE-HEIGHT: 150%; FONT-FAMILY: Tahoma; mso-bidi-font-family: 'Times New Roman'"><p></p></span></p><p></p>]]></description>
		</item>
		    
		
		<item>
			<title>东莞之行</title>
			<link>http://nonamebutexist.blog.sohu.com/11336228.html</link>
			<comments>http://nonamebutexist.blog.sohu.com/11336228.html#comment</comments>
			<dc:creator>没有名字但有一个blog</dc:creator>
			<pubDate>Sun, 27 Aug 2006 15:13:58 +0800</pubDate>
			<guid>http://nonamebutexist.blog.sohu.com/11336228.html</guid>
			<description><![CDATA[<p>刚从东莞回来。</p><p>新兴的城市，感觉繁华可比广州。带了相机，可惜没时间拍照。住在莞城某号称四星级的酒店，对服务不太满意，比如退房居然等了十多分钟。不过念在拿到招聘会参会公司的四折优惠，所以将就一下了。</p><p>存着买笔记本的钱又少了一笔，不过挺值得的，见到心爱的她，在一起的感觉很好。今天开始又要开始一个人的生活。</p><p>回到熟悉的宿舍，打开QQ，小深如旧在挂着。一切都如从前。挺好的。</p>]]></description>
		</item>
		    
		
		<item>
			<title>醒了</title>
			<link>http://nonamebutexist.blog.sohu.com/11068599.html</link>
			<comments>http://nonamebutexist.blog.sohu.com/11068599.html#comment</comments>
			<dc:creator>没有名字但有一个blog</dc:creator>
			<pubDate>Fri, 25 Aug 2006 06:45:07 +0800</pubDate>
			<guid>http://nonamebutexist.blog.sohu.com/11068599.html</guid>
			<description><![CDATA[<p>昨天下班几乎是一打下班铃就跑了出来，完全不像一个成长中企业的员工。主要是好像有点感冒了。脑袋发胀。活儿是干不完的，而且今天真的没有心情在下班以后继续呆在办公室。</p><p>回来以后和若干朋友聊了一会儿QQ。小深依然保持一种理智的作风，这两天甚至连偶然崩溃也没有。阿偲则依然保持郁闷的心态。人们往往为生活所累，小深在家人的资助下在国外念书，甚至还能单独住一间宽敞的房间，放学回来可以等着房东做饭吃。可依然会有不如意的事情。阿偲在某大企业工作，经常出国，还赚了不少钱。可生活依然没有寄托。无论是学习还是工作，一样会有不开心的事情。我不知道生活的症结出现的原因是什么，不知道是不是因为没有目标或者是目标不明确，可有时候不是有目标就一定能实现，但是需要奋斗；有时候奋斗过程中也需要驻足，但不知道算不算迷惘？</p><p>躺在床上想这些问题的时候，一不小心就睡着了。头脑中依然酝酿着一个题目：《南半球那边》，但是没有想到什么不空洞的内容。还有软件的开发卡住了，一时技穷，出现了一个儿子要当自己老子的问题，需要进一步寻找更好的解决办法。可老板那边似乎不会管你这些，他们看到的只有工作的进度。进度。</p><p>于是突然就这样醒了，觉得好像有什么东西没有做完。电脑的屏幕还保持在昨晚睡着前的画面，乖乖的等我的下一步指示。5点46分。很久没有这么早醒来过了。</p>]]></description>
		</item>
		    
		
		<item>
			<title>让你的VB程序不再为组件注册苦恼</title>
			<link>http://nonamebutexist.blog.sohu.com/10933678.html</link>
			<comments>http://nonamebutexist.blog.sohu.com/10933678.html#comment</comments>
			<dc:creator>没有名字但有一个blog</dc:creator>
			<pubDate>Wed, 23 Aug 2006 23:43:48 +0800</pubDate>
			<category>编程和开发</category>
			<guid>http://nonamebutexist.blog.sohu.com/10933678.html</guid>
			<description><![CDATA[<p>最近在为某移动硬盘生产商开发一个增值小软件（其实也不算小了，编译出来的主程序就有900K之巨，还没算其它一些附加的程序），其中碰到一个小麻烦就是需要使用一些组件，但这些组件必须在使用前注册到系统。因为程序是在移动硬盘上运行的，为了保证通用性，所以在程序运行前把这些组件先注册到系统。把这段代码发出来，希望对大家有一点帮助。把这个模块稍加修改编译成一个exe文件即可。</p><p></p><hr /><p></p><p>Option Explicit</p><p>Public Const IsDebugMode = True</p><p>Public Const Library_mscomctl_ocx As String = &quot;{831FDD16-0C5C-11D2-A9FC-0000F8754DA1},mscomctl.ocx,Microsoft Common Controls 6.0 (SP6),101&quot;<br />Public Const Library_msvbvm60_dll As String = &quot;{000204EF-0000-0000-C000-000000000046},msvbvm60.dll,Visual Basic For Applications,102&quot;<br />Public Const Library_msxml_dll As String = &quot;{D63E0CE2-A0A2-11D0-9C02-00C04FC99C8E},msxml.dll,Microsoft XML version 2.0,103&quot;<br />Public Const Library_scrrun_dll As String = &quot;{420B2830-E718-11CF-893D-00A0C9054228},scrrun.dll,Microsoft Scripting Runtime,104&quot;<br />Public Const Library_stdole2_tlb As String = &quot;{00020430-0000-0000-C000-000000000046},stdole2.tlb,OLE Automation,105&quot;<br />Public Const library_vb6chs_dll As String = &quot;NONE,vb6chs.dll,Visual Basic 6 Chinese Support,106&quot;<br />'Public Const Library_vb6_olb As String = &quot;NONE,vb6.olb,107&quot;</p><p><br />Private Declare Function GetSystemDirectory Lib &quot;Kernel32&quot; Alias &quot;GetSystemDirectoryA&quot; (ByVal lpBuffer As String, ByVal nSize As Long) As Long</p><p></p><p>Sub Main()<br />&nbsp;&nbsp;&nbsp; frmLRMain.Visible = IsDebugMode</p><p>&nbsp;&nbsp;&nbsp; If InStr(Command, &quot;/u&quot;) &gt; 0 Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'unregister library<br />&nbsp;&nbsp;&nbsp; Else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'register library<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RegisterLibrary Library_mscomctl_ocx<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RegisterLibrary Library_msvbvm60_dll<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RegisterLibrary Library_msxml_dll<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RegisterLibrary Library_scrrun_dll<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RegisterLibrary Library_stdole2_tlb<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RegisterLibrary library_vb6chs_dll<br />&nbsp;&nbsp;&nbsp; End If<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; 'Unload frmLRMain<br />&nbsp;&nbsp;&nbsp; <br />End Sub</p><p><br />Public Function RegisterLibrary(ByVal InfoString) As Boolean<br />&nbsp;&nbsp;&nbsp; Dim SerialNumber As String, FileName As String, LibraryTitle As String, ResourceID As Integer<br />&nbsp;&nbsp;&nbsp; Dim SystemPath As String, lLen As Long<br />&nbsp;&nbsp;&nbsp; Dim FilePath As String, ShellID As Double<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; SystemPath = Space(255)<br />&nbsp;&nbsp;&nbsp; lLen = GetSystemDirectory(SystemPath, 255)<br />&nbsp;&nbsp;&nbsp; SystemPath = Left(SystemPath, lLen)<br />&nbsp;&nbsp;&nbsp; If InStr(SystemPath, Chr(0)) &gt; 0 Then SystemPath = Left(SystemPath, InStr(SystemPath, Chr(0)) - 1)<br />&nbsp;&nbsp;&nbsp; If Right(SystemPath, 1) &lt;&gt; &quot;\&quot; Then SystemPath = SystemPath + &quot;\&quot;<br />&nbsp;&nbsp;&nbsp; frmLRMain.PrintLine SystemPath<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; If ParseSymbol(InfoString, SerialNumber, FileName, LibraryTitle, ResourceID) &lt;&gt; &quot;&quot; Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If SerialNumber = &quot;NONE&quot; Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmLRMain.PrintLine &quot;No need to register. Just copy&quot;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FilePath = SystemPath + FileName<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GetFileFromRES ResourceID, FilePath, False<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ElseIf CheckIfLibraryRegistered(SerialNumber) Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmLRMain.PrintLine &quot;The library is no need to register.&quot;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FilePath = SystemPath + FileName<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GetFileFromRES ResourceID, FilePath, True<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ShellID = Shell(&quot;regsvr32 -s &quot;&quot;&quot; + FilePath + &quot;&quot;&quot;&quot;, vbHide)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmLRMain.PrintLine &quot;the library is successfully registered.&quot;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br />&nbsp;&nbsp;&nbsp; Else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmLRMain.PrintLine &quot;Parse error. Register library failed.&quot;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RegisterLibrary = False<br />&nbsp;&nbsp;&nbsp; End If<br />&nbsp;&nbsp;&nbsp; <br />End Function</p><p><br />Public Function ParseSymbol(ByVal InfoString As String, Optional ByRef SerialNumber As String, Optional ByRef FileName As String, Optional ByRef LibraryTitle As String, Optional ByRef ResourceID As Integer) As String<br />&nbsp;&nbsp;&nbsp; Dim temp As String<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; On Error GoTo ParseSymbolErr<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; frmLRMain.PrintLine &quot;Fetching from &quot; + InfoString + &quot;...&quot;<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; 'Get serial number. Usually it is a GUID, or just a symbol &quot;NONE&quot;<br />&nbsp;&nbsp;&nbsp; temp = Mid(InfoString, 1, InStr(InfoString, &quot;,&quot;) - 1)<br />&nbsp;&nbsp;&nbsp; SerialNumber = temp<br />&nbsp;&nbsp;&nbsp; frmLRMain.PrintLine SerialNumber<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; 'Get the file name<br />&nbsp;&nbsp;&nbsp; InfoString = Mid(InfoString, Len(temp) + 2)<br />&nbsp;&nbsp;&nbsp; temp = Mid(InfoString, 1, InStr(InfoString, &quot;,&quot;) - 1)<br />&nbsp;&nbsp;&nbsp; FileName = temp<br />&nbsp;&nbsp;&nbsp; frmLRMain.PrintLine FileName<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; 'Get library title<br />&nbsp;&nbsp;&nbsp; InfoString = Mid(InfoString, Len(temp) + 2)<br />&nbsp;&nbsp;&nbsp; temp = Mid(InfoString, 1, InStr(InfoString, &quot;,&quot;) - 1)<br />&nbsp;&nbsp;&nbsp; LibraryTitle = temp<br />&nbsp;&nbsp;&nbsp; frmLRMain.PrintLine LibraryTitle<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; 'Get recource ID<br />&nbsp;&nbsp;&nbsp; InfoString = Mid(InfoString, Len(temp) + 2)<br />&nbsp;&nbsp;&nbsp; ResourceID = CInt(InfoString)<br />&nbsp;&nbsp;&nbsp; frmLRMain.PrintLine ResourceID<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; ParseSymbol = SerialNumber<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; Exit Function<br />ParseSymbolErr:<br />&nbsp;&nbsp;&nbsp; If IsDebugMode Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; End If<br />&nbsp;&nbsp;&nbsp; ParseSymbol = &quot;&quot;<br />End Function</p><p>Public Function CheckIfLibraryRegistered(SerialNumber As String) As Boolean<br />&nbsp;&nbsp;&nbsp; CheckIfLibraryRegistered = KeyExists(HKEY_CLASSES_ROOT, &quot;TypeLib\&quot; + SerialNumber)<br />End Function</p><p>Public Function GetFileFromRES(ResID, SaveAs As String, DeleteIfExist As Boolean) As Boolean<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; On Error GoTo GetFileFromRESErr<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; If Dir(SaveAs, 31) &lt;&gt; &quot;&quot; Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If Not DeleteIfExist Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmLRMain.PrintLine &quot;Copying file is cancelled because file is exist.&quot;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GetFileFromRES = False<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exit Function<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ElseIf (GetAttr(SaveAs) Or vbDirectory) = (GetAttr(SaveAs)) Then<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmLRMain.PrintLine &quot;The file path &quot;&quot;&quot; + SaveAs + &quot;&quot;&quot; is a directory name. Cannot be covered.&quot;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GetFileFromRES = False<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exit Function<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frmLRMain.PrintLine &quot;The file is exist, now delete it.&quot;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Kill SaveAs<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br />&nbsp;&nbsp;&nbsp; End If<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; Dim DataByte() As Byte, FileNum As Integer<br />&nbsp;&nbsp;&nbsp; DataByte = LoadResData(ResID, &quot;Custom&quot;)<br />&nbsp;&nbsp;&nbsp; frmLRMain.PrintLine &quot;File checked out&quot;<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; FileNum = FreeFile<br />&nbsp;&nbsp;&nbsp; Open SaveAs For Binary As FileNum<br />&nbsp;&nbsp;&nbsp; Put FileNum, , DataByte<br />&nbsp;&nbsp;&nbsp; Close FileNum<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; GetFileFromRES = True<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; Exit Function<br />GetFileFromRESErr:<br />&nbsp;&nbsp;&nbsp; If IsDebugMode Then<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; End If<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; frmLRMain.PrintLine &quot;error when get file from res.&quot;<br />&nbsp;&nbsp;&nbsp; frmLRMain.PrintLine CStr(Err.Number) + &quot;:&quot; + Err.Description<br />&nbsp;&nbsp;&nbsp; Err.Clear<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; GetFileFromRES = False<br />End Function</p><p></p><p></p>]]></description>
		</item>
		    
		
		<item>
			<title>没有名字的第一篇</title>
			<link>http://nonamebutexist.blog.sohu.com/10924198.html</link>
			<comments>http://nonamebutexist.blog.sohu.com/10924198.html#comment</comments>
			<dc:creator>没有名字但有一个blog</dc:creator>
			<pubDate>Sat, 26 Aug 2006 14:24:15 +0800</pubDate>
			<category>生活点滴</category>
			<guid>http://nonamebutexist.blog.sohu.com/10924198.html</guid>
			<description><![CDATA[<p><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="2">近二十五岁的人了。这是我生平第一篇博客日志。其实也没有什么特别要写的。就随便说些什么吧。</font></span></p><p><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="2">首先说说名字。想想其实名字似乎没有非常重要的意义，所以干脆不想，还是把内容做好再算。再者，佛曰：大悟无言，大笑无声，大哭无泪。想起来，我这个人费话相当的多。这么一来，无名亦可。</font></span></p><p><font size="2"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">关于博客的印象，第一次接触它是缘于</span><span><font face="Times New Roman">wallop</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。没别的，就是听说在</span><span><font face="Times New Roman">wallop</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">里，一个人最多经过六层关系就可以认识美国总统。当时的感觉就是一个字：牛！想出博客这种东西的人一定是个牛人。当时进</span><span><font face="Times New Roman">wallop</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">还不是想进就进。还要别人发出邀请。好不容易混进去了，认识了不少牛人，其中一个号称在美国的中国女孩，剑桥大学的，学习好，爱好广泛，长得漂亮，还拿过什么大学运动会的奖项，家里有钱。我朋友觉得这是他所知道最完美的女生，而我觉得似乎很牛，但却是遥不可及的，还是身边的比较真实。最后没再玩</span><span><font face="Times New Roman">wallop</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">主要是因为学校的网络很差劲，而</span><span><font face="Times New Roman">wallop</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">是</span><span><font face="Times New Roman">flash</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">界面的，打开需要很长时间。</span></font></p><p><font size="2"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">时间隔了蛮久，再没有接触过博客，然后就是国内的互联网粗人腾迅先生发飚，搞了一个叫做</span><span><font face="Times New Roman">QQ</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">空间的东西出来，大行其道。这让它着实又大赚了一票。后来知道还有</span><span><font face="Times New Roman">msn space</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，还有</span><span><font face="Times New Roman">blogger</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，但还是没有动手。主要是因为懒，没有天天上来写东西的习惯。</span></font></p><p><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="2">再后来一个可以叫做姐姐的人让我给她做了一个博客网站。大半个月有睡没睡的，不是为了钱，而是因为我觉得她很有理想，我愿意帮助她去实现。只建立了一个初步的平台，功能上的拓展还没有开始做。这不知道算不算不了了之，因为我说让她去找个好的美工去做些好看的皮肤，我配合一下把功能完善起来，但后来事情就这样卡住了，也没有下文。</font></span></p><p><font size="2"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">之后又一段时间，似乎一直都没有和博客发生直接关系。最近因为一个软件项目要搞英文版，情急之下在论坛求助，一个素不相识的人挺身而出协助我翻译出准确的英语，于是和其熟悉起来，成为了相当不错的朋友。此君喜好安静，因此并不轻易向一个人透露其博客。恐有负信任，每有更新，必光顾之。久而久之，问起我为何没有博客，也让其去参观参观，我面有愧色的说：没有。如今博客就像当年的</span><span><font face="Times New Roman">QQ</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，两人一聊必然问及博客地址。想当年高中毕业我们写通讯录都不问电话号码了，直接问</span><span><font face="Times New Roman">QQ</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">以保持联系。因为大家都不知道将来会到哪间大学，电话是多少。于是一个</span><span><font face="Times New Roman">QQ</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">号挤满了几百号人，全是同学。</span></font></p><p><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><font size="2">心想如果有一个博客，未必不是一件相得益彰的事情。或许这样可以有更多交流的机会呢。再者，我未必期望这里客流如潮，可偶有些许知己来聚，却是不争的乐事。而我本身，也似乎需要一个可以小结一下生活的地方。于是，就有了这么一个博客。</font></span></p>]]></description>
		</item>
		    
		
	</channel>
</rss>
