Option Explicit
Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
这段代码错了,错在哪啊?
Option Explicit
Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
这段代码错了,错在哪啊?
这东西只能放在标准模块里面,你新建一个标准模块,把这句话移过去就可以了。