StarDict 3.0, and a fix for the fail-to-start problem on Windows

StarDict is a cross-platform (supposed to works on both Linux and Windows ) international dictionary software licensed under GPL.
It is primarily developed by Hu Zheng.

Having heard about it for many times, I gave it a try today. Unfortunately, after I installed it on Windows, I just realized it did not work on my machine. Initially I thought it was the GTK+ problem. But I had the latest GTK+ (2.10.13) and GIMP 2.2 worked fine. Then I tried several other things, and was eventually happy to find out that it would work if the directory name is NOT StarDict! I tried Star, StarD, StarDi, StarDic, ... , all worked well. Finally, I renamed the directory as StarDict3. (For one moment I was thinking whether it had any limit on the path length, and that's why I tried short names first. But it turned out a longer directory name would also work.) What a weird problem!

I also tried to rename the executable from stardict.exe to something else. But that (at least by itself) did not work.

Not sure why this is the case. I have no time to look at the source code yet. Anyway, the renaming hack works like magic.
posted on Wednesday, August 15, 2007 11:27 PM by wenyang

Comments

# re: StarDict 3.0, and a fix for the fail-to-start problem on Windows

Thursday, August 16, 2007 10:31 PM by wenyang