Re: [Dev-C++] How to complie src to none-gui program?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Per W. <pw...@ia...> - 2007-01-25 12:49:22
|
About Unix: The "$" token is actually the "&" token, and it is used to run
an application in the background, using the current console. The
application still has a console, and will die when the console dies.
It is _very_ hard to start a console applicatin from a graphical
application, without getting a console window. To my knowledge, you have
to intercept and replace a couple of Win32 API functions, to manage it.
A far simpler method is to let the console be crated, and then minimized.
/Per W
On Thu, 25 Jan 2007, Daniel Datcu wrote:
> I think you should call it as a background process, as by adding the "$"
> token to commands in unix
>
> Use the Force !
> lol
> ----- Original Message -----
> From: "LUKE" <lu...@tc...>
> To: <dev...@li...>
> Sent: Thursday, January 25, 2007 12:14 PM
> Subject: [Dev-C++] How to complie src to none-gui program?
>
>
> > I need to call a command_line(CM1.EXE) from another program(APP1.pl).
> > in APP.pl (PERL)
> >
> > #!perl.exe
> > system('/path/CM1.EXE 1234>file.txt');
> >
> > But the CM1.exe will show the console window.
> > How to avoid the CM1.exe show the console window?
> >
> >
>
>
> --------------------------------------------------------------------------------
>
>
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> > your
> > opinions on IT & business topics through brief surveys - and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
>
> --------------------------------------------------------------------------------
>
>
> > _______________________________________________
> > Dev-cpp-users mailing list
> > Dev...@li...
> > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
> >
>
>
>
|