1. windows 7 issue
- Posted by gwalters Jul 11, 2012
- 1277 views
I have been using bind and shroud for years with a program I call "compile" that I execute from crimson editor. Apparently windows 7 does not allow it to create a ".exe" file. Does anyone know how to solve this? I suppose I need to run the "compile" in administrator mode. Crap, this windows 7 sure has taken the "personal" out of my pc. Thanks for any help.
2. Re: windows 7 issue
- Posted by gwalters Jul 11, 2012
- 1290 views
This is the command line which returns a -1.
retCode = system_exec("bindw "& compileName & " -clear -quiet -out c:/AcuTrack/bin/" & rootName & ".exe",0)
3. Re: windows 7 issue
- Posted by mattlewis (admin) Jul 11, 2012
- 1249 views
This is the command line which returns a -1.
retCode = system_exec("bindw "& compileName & " -clear -quiet -out c:/AcuTrack/bin/" & rootName & ".exe",0)
Does it work when run in administrator mode? To me, that would say that your normal user may not have write permission in c:/AcuTrack/bin.
Matt
4. Re: windows 7 issue
- Posted by gwalters Jul 11, 2012
- 1263 views
Well, this gets a little confusing for me. I have crimson editor setup to launch a command directly by hitting f5. When I run crimson editor in administrator mode and then execute the "system_exec" it still fails with a return code of -1. However; I can issue the system_exec arguments directly from a prompt (start>>cmd) and it works correctly.
System_exec does work in other cases. My menu system launches other programs with that method. The bindw is a bat file. Could there be a problem with that? BTW: I'm running EU 2.4.
5. Re: windows 7 issue
- Posted by mattlewis (admin) Jul 11, 2012
- 1246 views
Well, this gets a little confusing for me. I have crimson editor setup to launch a command directly by hitting f5. When I run crimson editor in administrator mode and then execute the "system_exec" it still fails with a return code of -1. However; I can issue the system_exec arguments directly from a prompt (start>>cmd) and it works correctly.
System_exec does work in other cases. My menu system launches other programs with that method. The bindw is a bat file. Could there be a problem with that? BTW: I'm running EU 2.4.
The batch file may be an issue. You might try turning off the -quiet option (and maybe adding a call to "pause" at the end of the batch file) to see if there is any useful information there.
Matt
6. Re: windows 7 issue
- Posted by gwalters Jul 11, 2012
- 1264 views
Well, after messing this all day I have stumbled on the problem. Although the path is set to c:/euphoria/bin (where bindw.bat exists) it does not work with a batch file.
retCode = system_exec("c:/euphoria/bin/bindw.bat "& compileName & " -clear -quiet -out c:/AcuTrack/bin/" & rootName & ".exe",0)
Putting the entire path in for bindw.bat it works as it should.
Matt the -quiet did not show anything as it stopped immediately not being able to find the bindw.bat to execute.
So this beggs the question on how to get batch files to show up in a path specification in environmental vars?
7. Re: windows 7 issue
- Posted by DerekParnell (admin) Jul 11, 2012
- 1261 views
So this beggs the question on how to get batch files to show up in a path specification in environmental vars?
I just tested this on my Windows 7 system and had no issues. It worked fine.
8. Re: windows 7 issue
- Posted by gwalters Jul 17, 2012
- 1225 views
So this beggs the question on how to get batch files to show up in a path specification in environmental vars?
I just tested this on my Windows 7 system and had no issues. It worked fine.
If I typed the command directly from a command line it worked also. When I launched the same thing from the crimson editor it would not work. I'm using windows 7 home premium should that make a difference.