05 2006 档案

摘要: 今天在网上看到可以直接用Office2007来编缉blog,并上传到服务器上,于是下了一Office2007 Beta试了一下,毕竟beta版,bug出错率还是蛮高的,严重出错的把Office2007搞得关闭了,很不爽,写的blog没保存,只好重写。
不过,它的功能还是蛮强大的,比2000功能多了不少,界面也花哨了。Microsoft真是想我所想。呵呵。
今天活动,今天一天都在邹区转,逛得累死,终于把灯买回来了。
先写这么多,看看能不能上传先。阅读全文
posted @ 2006-05-28 22:10 shipfi 阅读(106) | 评论 (0) 编辑
摘要: 也就是说,管道就是一部份共享内存以便进程可以用来相互通信,创建了Pipe内核对象的进程就是一个Pipe Server, 当另一个进程与这个进程创建的Pipe Server连接时,就称为Pipe Client.当一个进程往Piple当中写入信息时,另一个进程便可以从这个Pipe读出这个信息。
Pipe分为两种:一个是anonymous pipes(末名命Pipe),另一个是named pipes(命名Pipe), anonymous pipes所需要的开销要比named pipes要来得少,但是缺点是提供的功能也少。
pipe这个术语在这里的意思是指:作为一个提供信息的管道,从概念上来理解,Pipe包含了两个端,一端可以允许进程写入,另一端允许进程读出。两个端都可以让进程读或者写。
阅读全文
posted @ 2006-05-27 13:49 shipfi 阅读(1285) | 评论 (1) 编辑
posted @ 2006-05-25 17:34 shipfi 阅读(93) | 评论 (0) 编辑
摘要: ProjectCode里面的一篇写COM的文章。转载至此。阅读全文
posted @ 2006-05-24 15:28 shipfi 阅读(289) | 评论 (0) 编辑
摘要: lmagine there is no heaven
lt's easy if you try
No heals blow us
Above us only sky
lmagine all the people
Living for today
You my say l'm a dreamer
but l'm not the only one
l hope some day you will join us
And the would will be as one
lmagine there's no position
No greed nor hunger
a brotherhood of a man
lmagine all the people
Living life in peace
you may say l'm a dreamer
But l'm not the only one
l hope someday you'll join us阅读全文
posted @ 2006-05-19 08:35 shipfi 阅读(67) | 评论 (0) 编辑
摘要: 在用VC过程中,会碰到许许多多繁不胜繁的小问题,我想是其中很多都出在C++语言复杂度、API,MFC类库的繁琐,以及函数参数类型的不一致,其它的还有宏,C和C++外部函数的共享,程序的compile,link等等.

今天碰到的二个问题,一个属于函数参数类型的不正确,一个属于链接lib时出现Error的问题.阅读全文
posted @ 2006-05-18 16:39 shipfi 阅读(626) | 评论 (1) 编辑
摘要: nearly, It's luckless for me . Last Sunday, my wallet was stolen and Yesterday,my mobile telephone was lost by my colleague.

But don't worry ,think otherwise.The chief steal the wallet and it just include the card ,not the cash. Lost the old mobile telephone not the newer.

Occasionally, everyone will meet the evil days.塞翁失马,焉知非福?It's luckly as long as we live in this world.and share each other

Let's hope for the best....阅读全文
posted @ 2006-05-18 11:15 shipfi 阅读(52) | 评论 (0) 编辑
摘要: 最近要用到C++,在网上找《C++ Standard Library》一书。发现一好站点,里面包括了C++的知名书籍。书贵在精而不多。
看看里面有些儿什么?


计算机相关
-开发语言/脚本与工具
-C/C++
. Thinking in C++ 2nd Edition, Volume 2: Standard Libraries & Advanced Topics
. Thinking in C++, Volume 1: Introduction to Standard C++ (2nd Edition)
. The C++ Programming Language (Special 3rd Edition)
. Effective STL: 50 Specific Ways to Improve Your Use of the Standard Template Library
. Design Patterns
. Exceptional C++: 47 En阅读全文
posted @ 2006-05-17 13:18 shipfi 阅读(307) | 评论 (0) 编辑
posted @ 2006-05-16 17:34 shipfi 阅读(32) | 评论 (0) 编辑
摘要: 总是觉得VC中的类型纷繁复杂,扑朔迷离。因为有了Unicode,因为C、C++类型相互转化如此不同。保存char的不止char一种,还可以用short,unsigned short,int 等来保存。单单就字符串就有N多种类型,其它类型也不止一个。再加上C++中本来就没有正式的string类型,所以,平常就会碰到很多种相同意思,但不同类型,或相同类型,不同写法的Type.

如何在他们之间相互转化,也是在学习VC中避免不了的一个问题。

阅读全文
posted @ 2006-05-16 16:06 shipfi 阅读(3191) | 评论 (3) 编辑
摘要: 今天项目中碰到的问题,关于注册表的操作。
包括:对注册表打开(RegOpenKeyEx),对注册表查询(RegQueryValueEx),对注册表遍历(RegEnumValue),获取指定键值的相关信息(RegQueryInfoKey),对键下面的子键进行遍历(RegEnumKeyEx)......Etc阅读全文
posted @ 2006-05-16 12:44 shipfi 阅读(330) | 评论 (1) 编辑
摘要: 刚刚前天买了电动车,昨天回家就碰到没电,于是费尽千辛万苦从新市路一直推到家里 . 不过万辛的是不是早上,否则就惨了!
买了几本书,昨天收到了,发现有两本《自己动手写操作系统》,欣喜,以为书店多发了一本,网上一查订单,原来是 自己多订了一本,多花三十多元钱.咋这么背??
老天保佑,以后不要给我开这样的玩笑了. 俺受不起啊....阅读全文
posted @ 2006-05-09 16:01 shipfi 阅读(39) | 评论 (0) 编辑
摘要: 整一难受。头重脚轻,全身无力。坐着的时候,直想躺下去,躺下吧,又睡不着。听着钟声嗒嗒的。又一个人,没人说话解闷, 只有一电脑与外界联系。却发现,看着电脑的时候也这么累!!!!
唉,头又发晕了。眼皮直往下掉,根本无法再看显示器了,就写到这儿吧~~~~~阅读全文
posted @ 2006-05-02 20:13 shipfi 阅读(45) | 评论 (0) 编辑