23 juin
有生以来第一次坐了那么久的飞机,慢慢的旅途中,发现自己完全变成了傻子,给水就喝,给饭就吃,其余时间都在半睡半醒里度过。在北京中午十二点起飞,飞了那么那么久之后,发现还是中午12点多,呵呵,原来自己一直在追着太阳跑。
匆匆吃过不知道到底算是早、中、晚哪顿饭之后,就迫不及待的去了m$ campus。也许是能到这里看看是我很久的一个梦吧,这次真的成真了,却有了说不出的感觉。。。。。。呵呵,人有时候就是这样奇怪~
累。。。。。。
6 juin
端午假期前夜,10点,在公司,除了保安之外,恐怕只有我了,调试着莫名其妙的代码,莫名的烦躁......WSDAPI,FDAPI......恐怕这些函数翻遍地球也没有几个人会用到,一次又一次的调用失败,让我有些抓狂......
IP v6?!你们难道还跟IP v6有关系?!!!!!这一瞬间像抓住了救命稻草,又像是被推进了无底的深渊。想哭还是想笑?!不知道,这时我没了思想,只是张大了嘴巴,对着显示器发呆,脑袋嗡嗡的响着。
突然感觉那段代码脆弱的像玻璃,轻轻一触就可能满地碎片,哑然。
保护它!却不知道从何处下手,此时像个无助的孩子。是我的错?还是它们的错?
是我的错!
凌晨胡乱呓语......
2 juin
1. A wonderful web site for converting icon from "png" file. http://converticon.com/
2. Add 32 bit icon to VS2005 resource list
The icon editor in Visual Studio is really bad.
If photoshop doesn't support exporting to .ico, try to search a plugin to allow it or search for some freeware/shareware icon editor that support true-color icons.
Now, if you want 32 bit icons (that's true-color + an alpha channel) for XP, you need to use a trick because the Visual Studio icon editor will corrupt the alpha channel.
The VS icon editor just doesn't support alpha channels and when you import an icon containing an alpha channel, the alpha channel is simply removed by Visual Studio. When you then save your project, the icon on your hard disk will have lost the alpha channel to. This is really a shame for an otherwise very good IDE.
Anyway, what I do is the following:
Copy my alphablended icon into my /res/ folder
Import the icon in visual studio
close the icon in the resource editor of visual studio
save my project
RECOPY the original alpha blended icon back into my /res/ folder, because Visual Studio has just foobarred my nice icon.
Make sure you NEVER open the icon again in Visual Studio or it's foobarred again