[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 142
  • Last Modified:

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

0
rjufer
Asked:
rjufer
1 Solution
 
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
 
ZifNabCommented:
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
Industry Leaders: 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!

 
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

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now