1. windows 7 issue

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.

new topic     » topic index » view message » categorize

2. Re: windows 7 issue

This is the command line which returns a -1.

retCode = system_exec("bindw "& compileName & " -clear -quiet -out c:/AcuTrack/bin/" & rootName & ".exe",0)

new topic     » goto parent     » topic index » view message » categorize

3. Re: windows 7 issue

gwalters said...

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

new topic     » goto parent     » topic index » view message » categorize

4. Re: windows 7 issue

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.

new topic     » goto parent     » topic index » view message » categorize

5. Re: windows 7 issue

gwalters said...

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

new topic     » goto parent     » topic index » view message » categorize

6. Re: windows 7 issue

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?

new topic     » goto parent     » topic index » view message » categorize

7. Re: windows 7 issue

gwalters said...

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.

new topic     » goto parent     » topic index » view message » categorize

8. Re: windows 7 issue

DerekParnell said...
gwalters said...

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.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu