【新纪元源码试炼】【极速云呼源码】【闲趣麻将泰州源码】sendmassage源码

2024-11-24 21:26:34 来源:berkeley db 源码下载 分类:休闲

1.vb 解密码小程序

sendmassage源码

vb 解密码小程序

       å¦ä¸€ä¸ªç¨‹åºä¸­çš„代码

       Private Declare Function SendMessage Lib "user" Alias "SendMessageA" (ByVal hwnd As Long,新纪元源码试炼 ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As String) As Long

       Private Declare Function FindWindow Lib "user" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long

       Private Declare Function FindWindowEx Lib "user" Alias "FindWindowExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As Long

       Private Sub Command2_Click()

       Dim hwnd As Long, t As Long, s As String * ‘声明变量hwnd、t为长整形,s为 个字符的字符型变量,把句柄保存在hwnd中

       hwnd = FindWindow(vbNullString, "HJonny")'寻找名为HJonny的窗体标题,这里就比如你的第一个密码程序。

       t = FindWindowEx(hwnd, 0, "ThunderRT6TextBox", vbNullString)'这个是寻找其中的一个文本框,也就是迷得密码框的句柄,保存在t中

       SendMessage t, , , s'sendmassage取t句柄,也就是你的密码框中的文本内容。

       MsgBox s'弹出提示

       End Sub

       è‡ªå·±å†™ä¸å¤åˆ¶ï¼Œäººå“å¥½ï¼Œå¸Œæœ›èƒ½å¸®åˆ°ä½ 

本文地址:http://5o.net.cn/html/40d256197398.html 欢迎转发