Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > C++ Programming
|
C++ Programming General discussions for the C++ language. For questions specific to Microsoft's Visual C++ variant, see the Visual C++ forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C++ Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old December 17th, 2003, 01:49 PM
Registered User
 
Join Date: Dec 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to check if a windows program is running in c

Hi,

I am writing a windows program that should execute another program (program2) only when program2 is not already running. The only way I know is to check window titles.

Does anyone have code to do that? Or can anyone give a hint?

Thanks in advance!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Running a program off the network? myurick Visual Basic 2008 Essentials 4 April 3rd, 2008 02:22 PM
How to check whether a program is running or hung cici Pro VB 6 0 October 13th, 2006 10:55 PM
Exception in running a program furqanms Java Basics 2 June 21st, 2006 10:39 PM
running another .exe from my program salhabb C++ Programming 1 January 18th, 2006 06:21 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.