1. RE: GUI vs. Console subsystem -- any danger?
- Posted by Henri.Goffin at sbs.be
Mar 13, 2002
That's interesting. Does anybody know how to obtain the same result with an
interpreted (possibly bound) program?
If not, Andy, can you tell exactly what you're doing? Because i am no C++
specialist. I don't know how or where to set the subsystem.
Thanks.
Henri Goffin
> -----Original Message-----
> From: Andy Serpa [SMTP:renegade at earthling.net]
> Sent: Tuesday, March 12, 2002 3:36 PM
> To: EUforum
> Subject: GUI vs. Console subsystem -- any danger?
>
>
> Hello,
>
> I was just playing around with a program that allows you to set the
> subsystem on an executable file.
>
> Many of my EU programs are .exw programs translated to C and compiled,
> and most have no GUI. However, they always pop up in a new window, even
> if you run them from the command-line, which isn't always convenient.
> Anyway, I discovered that if you set the subsystem to Console (they are
> GUI by default, I guess), it will work as a normal command-line program.
>
>
> Is there any reason I shouldn't do this?
>
>
>
2. RE: GUI vs. Console subsystem -- any danger?
Henri.Goffin at sbs.be wrote:
> That's interesting. Does anybody know how to obtain the same result with
> an interpreted (possibly bound) program?
>
> If not, Andy, can you tell exactly what you're doing? Because i am no
> C++ specialist. I don't know how or where to set the subsystem.
>
I found a little command-line freeware program that does it:
http://www.collakesoftware.com/
Look under "downloads" for a program called "SetSubSys". He's got some
other cool stuff there too...
3. RE: GUI vs. Console subsystem -- any danger?
- Posted by Henri.Goffin at sbs.be
Mar 14, 2002
Fabulous! Thanks a lot Andy.
This tiny utility removes what i held for a stain in the face of Euphoria.
Tinkering your own command line utilities with piping and redirections that work
on the NT family platform (NT, 2K, XP) is now possible!
For those who spent the few bucks to register you just have to run the setsubsys
utility with /C on your bound proggy. For the others, just make a copy of exw.exe
(e.g. to exw-c.exe) and do the same as above on that copy.
Now suppose you have written a utility taking the output of a /dir command as
input. After having converted it (or the interpreter) to a console app with
setsubsys /C, you can do things like:
dir | myApp.exe > output.txt
or
dir | exw-c myApp.exw > output.txt
which was completely impossible before (see f.i. the mails from Ray Smith and
Derek Parnell with the subject " Input redirection in exw ")
Folks! You know what? I'm happy :D
Henri Goffin
> -----Original Message-----
> From: Andy Serpa [SMTP:renegade at earthling.net]
> Sent: Wednesday, March 13, 2002 3:43 PM
> To: EUforum
> Subject: RE: GUI vs. Console subsystem -- any danger?
>
>
> Henri.Goffin at sbs.be wrote:
> > That's interesting. Does anybody know how to obtain the same result with
> > an interpreted (possibly bound) program?
> >
> > If not, Andy, can you tell exactly what you're doing? Because i am no
> > C++ specialist. I don't know how or where to set the subsystem.
> >
>
> I found a little command-line freeware program that does it:
>
> http://www.collakesoftware.com/
>
> Look under "downloads" for a program called "SetSubSys". He's got some
> other cool stuff there too...
>
>
>