Edita: "lang" directory problem
- Posted by Al Getz <Xaxo at aol.com> Sep 13, 2005
- 519 views
Hello (Pete), [v022] I was trying to open up Edita.exe (after bindw'ing) with another program and found that it wants the "lang" directory under the source's current directory rather than where Edita.exe is located. For example, i put Edita.exe into the Euphoria\Bin directory, and try to open it with system("Edita.exe MyFile.txt",0) and although edita does open, it opens with a language directory error saying it cant find the language file so it will use English. If i put a "lang" directory under the source file's current dir it opens fine. Trouble is, i wouldnt want to have to put a "lang" directory under every file's directory i intended to open using Edita so i think the lang directory should be under where the file 'edita.exw' or 'edita.exe' is located, or even better might be to just require having the lang *file* in the same dir as 'edita.exe' perhaps? I've done something like this with several of my programs by reading that stuff first then switching dir's if needed. It's fairly easy to change. The ini file seems to read fine. Take care, Al And, good luck with your Euphoria programming! My bumper sticker: "I brake for LED's"