以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- windows APi 调用为什么失败 (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=47603) |
-- 作者:打错潇洒 -- 发布时间:2014/3/13 11:33:00 -- windows APi 调用为什么失败 全局申明 \'Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long \'Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String, ByVal cch As Long) As Long
其他地方
上面代码结果居然是 12349731783049216 正确结果是 运行应用程序
求为什么会这样子 |