Re: Windows7 Euphoria3 opening files problem
- Posted by AndyDrummond Mar 17, 2011
- 1915 views
Two things have materialized: one is that binding suddenly began to work. I copied bindw.bat into my working folder, edited it with actual parameters, and it crashed. Over and over. Then suddenly without apparent reason it worked. And so does binding within Judith's IDE. So I put that one on the back burner and pray it never re-emerges. The other is that I have moved my data files into \ProgramData\Euphoria and again it works. I still find that if I try and open a file in the root of C: it fails. Solidly. I don't know why, and I'd like to know. Euphoria was copied across from my XP machine in toto, maybe that is a problem. I had to put in the environment variables, of course, too.
If you want a code snippet, try this (after creating gash.txt in C:\ with notepad or similar):
fh = open("C:\\gash.txt", "r") trace(1)
I find fh always returns -1. If I can't access files in the root of C: then I won't put them there, and I expect someone will say that that is a good thing anyway; it isn't a good place to leave odd data files lying about. It is just that I can find them there easily.
Otherwise, yes, I find Euphoria 3 just works on Windows 7, no trouble. I haven't yet migrated to Eu 4 because Eu 3 does what I want, and I still await a version of IDE which really works fully in Eu 4; the last modified one did but not fully, and as a man working on other things and using Euphoria as simply a tool to do jobs I just don't have the time or skill to fool with it and try sorting it out. If I buy a car it must run A-OK "from the box"; when I shift to Eu4 and IDE then they must work like that. Long gone it seems are the days when Judith and I exchanged ideas on enhancements and bugs on IDE.
Many thanks for your ideas, though.