Re: Can't seem to get rid of the console window (Windows port)



On Mon, 2006-06-12 at 13:22 +1000, Justin Clift wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Torrie wrote:
You can also change the executable type after the fact using the
exetype.pl program found at
http://www.devdaily.com/scw/perl/perl-5.8.5/win32/bin/exetype.pl.shtml

Hey, good work.

That's an interesting way of doing things.  Haven't tried it, but did
bookmark it for potentially-useful-later.

It works well for any exe you encounter. For example I had a program
that would spawn sox.exe and pass it data to process (sound data).
Under Windows 98 the normal spawning process opened up a console window
every time sox was launched.  There are ways of dealing with this, like
spawning a helper program that creates a hidden console and then runs
sox.exe for me.  But I found that toggling the windows subsystem flag in
the sox.exe binary I was using worked just great.  sox ran and processed
the data but no console window was ever displayed.

There is a utility that ships with Visual Studio to do this, but the
perl program is a little bit cheaper for me.

Michael



:)

Regards and best wishes,

Justin Clift


--tml


- --
The Flame Project - Open Source GUI for animated SVG & Flash
http://www.flameproject.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEjN3aFAuZn5lS2IMRAn7IAJ90+ANhWJbKK5xcVtuiRsstNBqAYQCg5Inz
nl7VyoxWkAQzAnL9ENdfriw=
=edqt
-----END PGP SIGNATURE-----
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]