?
Solved

Determining if a non-delphi application is running.

Posted on 1998-03-20
1
Medium Priority
?
171 Views
Last Modified: 2010-04-06
How do I determine if a non-delphi application, for example, a game, is running?  The proposed answer MUST work in both Win95 and NT, as well as Delphi 2.
0
Comment
Question by:gtas
1 Comment
 
LVL 8

Accepted Solution

by:
MikeP090797 earned 150 total points
ID: 1360663
If you know the application's window titlem or it's main window class, you can use FindWindow to check if a window with the specified properties exits. FindWindow will return the handle of the window, or 0 if the window doesn't exist.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi databaseā€¦
This is an update to some code that someone else posted on Experts Exchange. It is an alternate approach, I think a little easier to use, & makes sure that things like the Task Bar will update.
Integration Management Part 2
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recovā€¦
Suggested Courses

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question