| | | | | | | [文章信息] | | | 作者: | | | 时间: | 2003-12-17 | | 出处: | LinuxAID | | 责任编辑: | | |
| [文章导读] | | | Wine可以让你在Linux下近乎完美的使用金山词霸 2003!下面就介绍如何可以使用金山词霸 2003 的过程…… | |
| |
|
| | | |
|
|
|
|
|
天极IT资讯短信服务 电脑小技巧
|
介绍:细处着手,巧处用功。高手和菜鸟之间的差别就是:高手什么都知道,菜鸟知道一些。电脑小技巧收集最新奇招高招,让你轻松踏上高手之路。 | |
Wine可以让你在Linux下近乎完美的使用金山词霸2003!下面就介绍如何可以使用金山词霸 2003 的过程。
首先,解决 Wine 本身
然后修改 Wine 的配置文件并复制需要的 DLL
1、复制几个Windows dll:他们是comctl32.dll, commdlg.dll, commctrl.dll,shell.dll,shell32.dll,shfolder.dll,ole32.dll,oleaut32.dll,rpcrt4.dll位于你的真实Windows目录下的 system下,将他们复制到你的虚拟Windows目录下的system32下。可以使用Wine工具包中的 install_Win_lib来自动完成这个工作。格式如下:
| ./install_Win_lib /mnt/c / | 其中,第一个参数是你的 真实Windows 所在的挂载点 (mandrake 的默认挂载位置为 /mnt/Win_c),第二个参数是你在刚才设置的 fake Windows 的c盘所在的目录。
注意:这几个文件必须是 Win98 版本的!如果你手头没有,可以上 google 找到。
2、修改 Wine 的 config 文件:打开 ~/.Wine/config ,在某个空行中,插入以下内容(可以在 [DllOverrides] section 的后面的空行中插入)
[AppDefaults\\setup.exe\\DllOverrides] 'ole32' = 'native' 'oleaut32' = 'native' 'rpcrt4' = 'native' 'comctl32' = 'native' 'shell' = 'native' 'shell32' = 'native' 'shfolder' = 'native'
[AppDefaults\\ikernel.exe\\DllOverrides] 'ole32' = 'native' 'oleaut32' = 'native' 'rpcrt4' = 'native'
[AppDefaults\\xdict.exe\\DllOverrides] 'commdlg' = 'native' 'ole32' = 'native'
[AppDefaults\\xdict.exe\\Version] 'Windows' = 'Win2000' ;关键所在 | 3、将 Wine 工具包 中的 updatereg 放到 Wine 源码的根目录中,并执行他
如果你在后面执行 金山词霸 2003 的安装程序时,得到找不到 ikernel.exe 的错误提示,那么就是因为少做了这一步。
|
|
|
|
|
|
|
|