NT 4.0 - status of an application in running in background

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

rjuferAsked:
Who is Participating?
 
ZifNabConnect With a Mentor Commented:
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
 
MadshiCommented:
You could use SetWindowsHookEx(CBT_HOOK,...). But you'll have to put this into a DLL.   :-(

Regards, Madshi.
0
 
ZifNabCommented:
sorry, don't understand q'n
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
rwilson032697Commented:
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
 
rjuferAuthor Commented:
Thanks. I try it!

Rolf
0
 
ZifNabCommented:
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
All Courses

From novice to tech pro — start learning today.