I need to obtain the Handle to a process using its Image Name so that I can use it with TerminateProcess function. 开发者_如何学运维Any help will be appreciated
Farid
Use CreateToolhelp32Snapshot and Process32First/Next to iterate the running processes. Figuring out which one you'd want to abort if there's more than one instance of the process is of course not really possible.
加载中,请稍侯......
精彩评论