Herzlich Willkommen, lieber Gast!
  Sie befinden sich hier:

  Forum » C / C++ (WinAPI, Konsole) » Supressing Console when using system() command

Forum | Hilfe | Team | Links | Impressum | > Suche < | Mitglieder | Registrieren | Einloggen
  Quicklinks: MSDN-Online || STL || clib Reference Grundlagen || Literatur || E-Books || Zubehör || > F.A.Q. < || Downloads   

Autor Thread - Seiten: > 1 <
000
26.09.2006, 21:07 Uhr
~dandy
Gast


Hi folks!

I'm working on a QT project under WinXP, QT4. And there is one very ugly thing that ennoys me very much!! Every time I call my batch file like:

system(buf);

My console starts to show up then it dissapears again. Why can this not be supressed?!
When I start my project from within Code::Blocks I chose "QT Application" so the whole thing should not be a pure console application right? In fact I'm using Code:Blocks just as a fancy Texteditor. I compile everything myself using the attached *pro file and Makfile.

I've read the following thread http://lists.trolltech.com/qt-interest/2...0099-0.html</a> but that one doesn't help me put really. Can anybody pleeease give me some input? I'd be very greatful!

Regards. dandy.
 
Profil || Private Message || Suche Download || Zitatantwort || Editieren || Löschen || IP
001
26.09.2006, 22:21 Uhr
FloSoft
Medialer Over-Flow
(Administrator)


Hi,
use ShellExecute (on Windowssystems) instead of system.
--
class God : public ChuckNorris { };
 
Profil || Private Message || Suche Download || Zitatantwort || Editieren || Löschen || IP
Seiten: > 1 <     [ C / C++ (WinAPI, Konsole) ]  


ThWBoard 2.73 FloSoft-Edition
© by Paul Baecher & Felix Gonschorek (www.thwboard.de)

Anpassungen des Forums
© by Flo-Soft (www.flo-soft.de)

Sie sind Besucher: