S savetime Unregistered / Unconfirmed GUEST, unregistred user! 2005-03-01 #3 HANDLE OpenProcess(<br> DWORD dwDesiredAccess, // access flag <br> BOOL bInheritHandle, // handle inheritance flag <br> DWORD dwProcessId // process identifier <br> ); <br><br>&lt;&gt; NULL ;
HANDLE OpenProcess(<br> DWORD dwDesiredAccess, // access flag <br> BOOL bInheritHandle, // handle inheritance flag <br> DWORD dwProcessId // process identifier <br> ); <br><br>&lt;&gt; NULL ;
L lichengbin Unregistered / Unconfirmed GUEST, unregistred user! 2005-03-01 #6 1.savetime大侠所说,补充一下<br>h := OpenProcess(PROCESS_QUERY_INFORMATION,False,ID),如果返回句柄有效(&gt;0),再GetExitCodeProcess(h, Status),判断Status,STILL_ACTIVE说明进程还在。<br>2.刘麻子大侠所说,进程枚举。
1.savetime大侠所说,补充一下<br>h := OpenProcess(PROCESS_QUERY_INFORMATION,False,ID),如果返回句柄有效(&gt;0),再GetExitCodeProcess(h, Status),判断Status,STILL_ACTIVE说明进程还在。<br>2.刘麻子大侠所说,进程枚举。
N nec Unregistered / Unconfirmed GUEST, unregistred user! 2005-03-01 #7 噢。。。原来要这么复杂的,我以为一个API搞掂。看来分给少了。不知道怎么分了。哈哈