Solved

NT 4.0 - status of an application in running in background

Posted on 1998-10-22
6
132 Views
Last Modified: 2010-05-18
Hi

I have an annoying application on my windows nt 4.0 workstation running in the background. So now I am looking for an easy way to dedect an change in the state of this application (i.e. a new dialog, but unfortunately does not position himself to the visible front) within my own application (programmed with delphi 4.0).

Any hint is welcome.

Greetings, Rolf

0
Comment
Question by:rjufer
6 Comments
 
LVL 20

Expert Comment

by:Madshi
ID: 1343889
You could use SetWindowsHookEx(CBT_HOOK,...). But you'll have to put this into a DLL.   :-(

Regards, Madshi.
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1343890
sorry, don't understand q'n
0
 
LVL 8

Accepted Solution

by:
ZifNab earned 500 total points
ID: 1343891
rjufer,

Reject this if I'm wrong, but isn't this what you need?

It's a proces viewer, and I think that the status of a proces is stored in the proces information block... Isn't it?

http://www.wilsonc.demon.co.uk/Delphi%20Components/pviewer/pviewer.zip

Regards, Zif.

ps. nice other components for NT on this page too!
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 12

Expert Comment

by:rwilson032697
ID: 1343892
Did you write the other application. If so you could get it to send a windows message to your own application to tell it about the vhange in state.

0
 

Author Comment

by:rjufer
ID: 1343893
Thanks. I try it!

Rolf
0
 
LVL 8

Expert Comment

by:ZifNab
ID: 1343894
wwowowow Rolf,

 I didn't tried it out! As I said, 'reject if I'm wrong'. Why didn't you tried it out before answering this q'n....But normally you should be able to get the process state from the PIB.

Ok, still if it's not right, we'll ask Linda to get your points back.

Zif.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now