LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I detect running programs ?

Hi,

I would like to know if its possible for me to know if a program is running. Example: I would like to know if Window Media Player is running and if I can get the current songs etc... is this possible ?

If yes how ?

Thank you,
0 Kudos
Message 1 of 2
(3,184 Views)
Hello

The windows SDK does provide functions that allow you to enumerate the processes running on a system. Refer to PSAPI for NT systems and the toolhelp functions for 9X systems.
As for controlling and retreiving information from the individual application, that would depend on the type of application. Windows media player has an activex interface that you can use to communicate with it. But you will have to refer the documentation for the media player for more information on this.

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(3,184 Views)