VB 现在只知道进程名TEST.exe 不知道窗口标题 如何用TEST.exe来获取窗口句柄 5
1个回答
2011-11-23
展开全部
原型:
unsigned long WINAPI icePub_getPidByName(char *strProcessName)
输入:strProcessName 进程名
输出:
返回码:进程PID
Private Declare Function icePub_getPidByName Lib "icePubDll.dll" (ByVal strProcessName As String) As Long
Dim pid As Long
pid= icePub_getPidByName("TEST.exe")
MsgBox Str(pid)
再后边俺就不会了...
unsigned long WINAPI icePub_getPidByName(char *strProcessName)
输入:strProcessName 进程名
输出:
返回码:进程PID
Private Declare Function icePub_getPidByName Lib "icePubDll.dll" (ByVal strProcessName As String) As Long
Dim pid As Long
pid= icePub_getPidByName("TEST.exe")
MsgBox Str(pid)
再后边俺就不会了...
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询