WEB开发网
开发学院数据库MySQL shell里的括号的用法 阅读

shell里的括号的用法

 2007-11-11 16:03:04 来源:WEB开发网   
核心提示: 影子 答:取得窗口标题,用 PostMessage 关闭窗口,shell里的括号的用法(10),PostMessage 用法看下面的文章,ipzone 答:Public Declare Function OpenProcess Lib "kernel32" Alias "OpenProc

影子 答:
取得窗口标题,用 PostMessage 关闭窗口,PostMessage 用法看下面的文章。

ipzone 答:

Public Declare Function OpenProcess Lib "kernel32" Alias "OpenProcess" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long

Public Declare Function CloseHandle Lib "kernel32" Alias "CloseHandle" (ByVal hObject As Long) As Long

exam:
p_handle=shell("abc.exe",1)
h_program=OpenProcess(0,flase,p_hamdle)

`h_program=0,正在运行
`h_program<>0,运行完毕
Public Declare Function OpenProcess Lib "kernel32" Alias "OpenProcess" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long

Public Declare Function CloseHandle Lib "kernel32" Alias "CloseHandle" (ByVal hObject As Long) As Long

exam:
p_handle=shell("abc.exe",1)
h_program=OpenProcess(0,flase,p_hamdle)

`h_program=0,正在运行
`h_program<>0,运行完毕

上一页  5 6 7 8 9 10 

Tags:shell 括号 用法

编辑录入:coldstar [复制链接] [打 印]
赞助商链接