Fraray wrote:Hi all,
I have a question for you: what are the methods to search and terminate a Windows process?
I use VisualAge 6.0.1 with WindowBuilder 6.0.1.
This is more or less a specific Windows question. To solve problems like this:
* I would search through the Internet to get information about the problem and look for code examples in other languages. At the end of this process one should understand the domain of the solution.
* more or less the answers will concentrate on the usage of one or more API calls within Windows
* knowing the API calls I would look at the PoolDictionary "PlatformFunctions" and search for the entries. There may be no
entries for a specific call (e.g. if it is a a newer API-function introduced in XP or later)
* for each entry I would look for the references to the variable (pop-up menu when inspecting the entry within the PoolDictionary) and finding the references methods I would look for senders.
The answer to your specific question is the API call "TerminateProcess" (if you want to terminate a process from "outside").