用VB写 用虚拟鼠标点击运行EXE 要用到哪些函数?

harryharry1 2008-01-16 02:18:11
能有具体思路或者写法 加分100
...全文
87 点赞 收藏 10
写回复
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
harryharry1 2008-01-16
哎 咱还没写病毒的本事呢 呵呵
回复
awperpvip 2008-01-16
谁告诉你写病毒了 我写游戏外挂 郁闷
哦游戏啊 也不好
DirectInput
回复
chenhui530 2008-01-16
昨天又问过瑞星主动防御
现在又搞这个难免让人怀疑
回复
harryharry1 2008-01-16
我是想写病毒啊 可是我还没那技术!!
回复
caofusheng 2008-01-16
没有,具体的源码进入我的个人空间http://hi.csdn.net/caofusheng

选择 【caofusheng 上传了资源 模拟鼠标操作并回放】 去下载吧。
回复
harryharry1 2008-01-16
谁告诉你写病毒了 我写游戏外挂 郁闷
回复
chenhui530 2008-01-16
又是写病毒的~怎么现在的人都这样啊?难道是人格问题?原则问题?
回复
harryharry1 2008-01-16
杀软已经把调用的这些监控了么?
回复
caofusheng 2008-01-16

'API functions
Public Declare Function GetCursorPos Lib "user32" (lpPoint As PointAPI) As Long
Public Declare Function SetCursorPos Lib "user32" (ByVal X As Long, ByVal Y As Long) As Long
Public Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
Public Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long)

'Mouse Event API constants
Public Const MOUSEEVENTF_LEFTDOWN = &H2
Public Const MOUSEEVENTF_LEFTUP = &H4
Public Const MOUSEEVENTF_MIDDLEDOWN = &H20
Public Const MOUSEEVENTF_MIDDLEUP = &H40
Public Const MOUSEEVENTF_RIGHTDOWN = &H8
Public Const MOUSEEVENTF_RIGHTUP = &H10

Public Type PointAPI
X As Long
Y As Long
End Type

Public Type eMouseState
Pos As PointAPI
LButton As Boolean
MButton As Boolean
RButton As Boolean
End Type
回复
jinjazz 2008-01-16
非要点击么?直接用windowsshell启动它不可以
Shell(pathname[,windowstyle])
回复
发动态
发帖子
VB基础类
创建于2007-09-28

7451

社区成员

VB 基础类
申请成为版主
社区公告
暂无公告