Re: Strange behaviour
- Posted by Al Getz <Xaxo at aol.com> Oct 07, 2005
- 429 views
Robert Craig wrote: > > Jean-Francois Soucaille wrote: > > I have just installed Euphoria 2.5. I have created the appropriate > > environment > > variables. For checking the installation I have launched window.exw and > > winwire.exw. > > > > It appears that window.exw launchs correctly while winwire.exw exit with an > > error > > at line 75 of wildcard.e complaining about seeing an illegal character > > rather > > an expression. > > Those launchs are made through a double click on the icons. > > The strange is that if I launch the winwire.exw from a console using exw.exe > > or > > exwc.exe it run just fine. > > I'm a bit confused about that. Could that be related with regional > > preferences? > > Any clue? > > It looks like you've installed things more or less correctly. > The only problem is that .exw files are still associated with > your old 2.4 version of exw.exe. The install program left your > existing file associations as they were, so when you run a program > containing the new 2.5 "$" operator, it will give an error. > > You need to associate .exw files with the 2.5 exw.exe. > You can do this in XP by right-clicking any .exw file > and choosing "open with" / "choose program" / "browse" / > and selecting the location of exw.exe for 2.5. Also, click the > box that says "always use the selected program to open files of this type". > > You'll likely have to do the same with ex.exe etc. > > Regards, > Rob Craig > Rapid Deployment Software > <a href="http://www.RapidEuphoria.com">http://www.RapidEuphoria.com</a> > Hello again, Just a note: I've had similar things happen on my system (XP) and what happens sometimes with XP when you try to use a *new* program with the same *name* XP allows the appearance of the change in the file dialog boxes, but it *still* goes on to use the *old* program (same name, different directory). In other words, it doesnt log the new directory (with same filename like exw.exe) in the registry. I've fixed mine by simply changing the registry with the registry editor, typing in the new directory does it just fine, but perhaps you can delete the file association and then simply do it over again with the context menu "open with"/"always use this program", etc. BTW, the reg key is: HKEY_CLASSES_ROOT\Applications\EXW.EXE\shell\open\command and i've only had to type "Euphoria25" in place of "Euphoria" or whatever the new directory name is. Note that if the dirnames are changed in Explorer (say Euphoria to Euphoria24 and then Euphoria25 to Euphoria) then exw.exe will still be under /bin so you wont have to do anything but rename directories :) Take care, Al And, good luck with your Euphoria programming! My bumper sticker: "I brake for LED's"