CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2000
    Posts
    129

    How to start new process from my application?

    I need to start new processes from my application and I’m using _spawnv() for this purpose. Is it the best way to do it ?

    Thanks for your help!

  2. #2
    Join Date
    Feb 2000
    Location
    San Diego, CA
    Posts
    10,354
    Look for ShellExecute, ShellExecuteEx, CreateProcess.

  3. #3
    Join Date
    Jan 2000
    Posts
    129

    Thanks!

    Thanks a lot! I think ::ShellExecute() is what i need!

  4. #4
    Join Date
    Nov 2003
    Location
    Belgium
    Posts
    8,150
    That's one solution.
    If you are using Windows you can also use ShellExecute.
    Marc Gregoire - NuonSoft (http://www.nuonsoft.com)
    My Blog
    Wallpaper Cycler 3.5.0.97

    Author of Professional C++, 4th Edition by Wiley/Wrox (includes C++17 features)
    ISBN: 978-1-119-42130-6
    [ http://www.facebook.com/professionalcpp ]

  5. #5
    Join Date
    May 2000
    Location
    KY, USA
    Posts
    18,652
    Take a look at the following FAQ...
    Last edited by Andreas Masur; April 16th, 2004 at 01:56 PM.

  6. #6
    Join Date
    May 2000
    Location
    KY, USA
    Posts
    18,652
    [Merged threads]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured