Running app with system()

This is a discussion on Running app with system() within the C++ Programming forums, part of the General Programming Boards category; Hi, I am using Visual Studio 2008 to develop in c++. The app that I'm developing should use a .exe ...

  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    14

    Running app with system()

    Hi,

    I am using Visual Studio 2008 to develop in c++.

    The app that I'm developing should use a .exe file to record sound from the sound card, using the function system("WaveRecorder.exe "). Unfortunately, this WaveRecorder.exe is waiting for Enter key to stop recording, so my main app is stopped after running the system() func.

    Is there any other func like system() that can be used in a thred way? Or is there any other solution to my problem?

    Best regards,

    Alex.

  2. #2
    Registered User
    Join Date
    Sep 2008
    Posts
    48
    Use CreateProcess to start WaveRecorder and control it through a pipe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem building Quake source
    By Silvercord in forum Game Programming
    Replies: 16
    Last Post: 07-11-2010, 10:13 AM
  2. Replies: 3
    Last Post: 06-13-2005, 08:28 AM
  3. Why Can't C++ Be Used to Develop Operating System?
    By Antigloss in forum C++ Programming
    Replies: 7
    Last Post: 05-27-2005, 07:16 AM
  4. Displaying a balloon tip on sys trap app at startup
    By BobS0327 in forum Windows Programming
    Replies: 0
    Last Post: 03-25-2005, 08:35 PM
  5. worst app to ever grace my system
    By iain in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 09-10-2001, 04:30 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21