Kanrong's profileCode memoBlogListsNetwork Tools Help

Code memo

Record my experience on development
January 11

error MIDL2025 : syntax error : expecting ] or , near "annotation"

13>C:\Program Files\Microsoft SDKs\Windows\v6.0\Include\unknwn.idl(108) : error MIDL2025 : syntax error : expecting ] or , near "annotation"
13>C:\Program Files\Microsoft SDKs\Windows\v6.0\Include\unknwn.idl(108) : error MIDL2026 : cannot recover from earlier syntax errors; aborting compilation
 
在使用vs2005+Widows SDK时编译COM碰到上面错误,原来是只知道更新include files and library files了,Executable files也需要更新,因为最新的windows sdk里的idl文件需要使用自己带的midl complier了
Tools->Project and Solutions->Vc++ Directories->Excuteable files
C:\Program Files\Microsoft SDKs\Windows\v6.0\VC\Bin
C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin
January 03

Extensions for firefox

最近从opera开始转用firefox,不过firefox速度那确实是比不上opera,就因为del.icio.us插件,才转投firefox阵营,把安装的插件记一下,免得重装时忘了
0) Adblock plus
#ChinaList: http://www.anetcity.com/adblock.txt
#EasyList: http://easylist.adblockplus.org/adblock_rick752.txt
1) All-in-one gesture
2) del.icio.us Bookmarks
3) Gmail Notifier
4) FlashBlock
5) Session Manager
6) IE View Lite
7) Gladder

December 30

Skills on Ubuntu

How to control the state of services on Ubuntu?
There are three ways to do this.
1. Use script files in /etc/init.d/
2. apt-get install bum
3. apt-get install sysv-rc-conf

How to play media files on Ubuntu?
Mplayer is suggested, for it could use codecs from windows and could could play most types of media files.
apt-get install mplayer mencoder
apt-get install w32codes
Set subtitle for mplayer, choose preferences->fonts from /usr/share/truetype/arphic/uming.ttf encoding(unicode), subtiltle&osd(cp936)
December 26

Ubuntu安装

今天收到了Ubuntu社区邮寄过来的光盘,上次装了后老在gnome环境下死机,本来都放弃了,今天收到人家寄过来的免费光盘,回家不装一下,太对不起人了,不过还好终于让Ubuntu在自已机器上搞定了,庆祝一下,顺便记录一下安装注意点.
1. 华硕的板载网卡不装华硕的驱动硬件地址会是FFFFFFFFFFFF,又没有LINUX下的驱动,只好手动改硬件地址了.
ifconfig eth0 down
ifconfig eth0 hw ether 0014781E44D4
ifconfig eth0 up
dhclient eth0
2. 将/etc/apt/source.list下的一些源的注释给去掉,更新一下系统.
apt-get update
apt-get upgrade
3. 重新安装nvidia驱动,以前就是因为这个一直死机,丫丫呸的.
lspci | grep nVidia //先查看一下系统默认安装的驱动
apt-get install linux-restricted-modules-386
apt-get install nvidia-kernel-source //这个好像不是必须的
apt-get install nvidia-glx //要安装的就是你啦
nvidia-xconfig //再配置一下就好了
再查看一下/etc/X11/xorg.conf下应该差不多就是下面这个样子了
Section "Device"
Identifer "..."
Driver "nvidia"
EndSection
顺便去掉里面一些不需要的东西
4. 安装facitx输入法,现在就是在用facitx输入啦,五笔用起来还凑合
apt-get install facitx
facitx
5.哇好晚了,睡觉喽,明天再安装TP-LINK TL-WN321G的驱动
November 28

How to install input language pinyin in Ubuntu 6.10

1. sudo apt-get install scim-pinyin im-switch
or im-switch -s scim-pinyin

2. restart GNOME
CTRL+ATL+BACKSPACE

 

Reading Listening

Loading...