Hi
I am using Tcl/Tk language in Windows XP to find if an external application is already open or not.Is there a Windoes API pr something with which i can know this?
I'd like to know the 'correct' way of doing this as well.
The only way I know to get this to fly is to use CreateToolhelp32Snapshot() to take a snapshot and then walk the process list using Process32First() and Process32Next().
For each process you extract szExeFile from the PROCESSENTRY32 struct (contains the name of the executable for the process) and hopefully this tells you what you need...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.