none
VB2008 不能open process RRS feed

  • 問題

  • hProcess = OpenProcess(PROCESS_ALL_ACCESS, False, 2832)
    
    

    結果,hProcess 是 0

    求各位幫一幫手吧~

    **補充一句,我的宣告是:
    Public Const PROCESS_ALL_ACCESS = &H1F0FFF
    
    
    Public Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long
    
    
    2010年2月1日 上午 10:53

解答

所有回覆