关于Win7 天气插件的问题

最近突然发现自己Win7 gadget中的天气插件罢工了,老是显示Service not available,冥思苦想不得其解,在网上Google了一把,才找到原因,原来在将系统的Region and Language设置为非美国地区或者非英语格式后(比如设置为China),系统中的wlsrvc.dll会在运行时检查你的地区设置,如果检查到设置为India或者China,DLL会返回1506,表示天气服务在你的语言区域不可用。晕死…… 回忆了一下前些日子,为了使用一个软件,不得已改了语言设置,索性把Location改回为United Status, Format改回为English,一切又正常了,天气服务立马可用。嗯,反正我的Windows 7也是英文版的,改回来还是比较方便的方法,网上还有一种比较暴力的方法,就是替换掉那个wlsrvc.dll,有兴趣的同学可以参考下列步骤:

  1. Close and exit Windows Sidebar.

  2. Open Windows Explorer.

  3. Browse to C:\Program Files\Windows Sidebar folder.

  4. Take ownership and grant full permission to you on wlsrvc.dll file.

  5. Rename wlsrvc.dll to wlsrvc.dll.old.

  6. Download the patched wlsrvc.dll (contains inside the wlsrvc.zip).

  7. Copy the patched wlsrvc.dll into the Windows Sidebar folder.

  8. Run the sidebar.exe to restart Windows Sidebar.

支持原创技术分享,据说打赏我的人,都找到了女朋友!