ник: ShadowOfSun
Точнее ко всем трем функциям нужна явная декларация
Declare Function FindWindow Lib "User" (ByVal lpClassName As Any, ByVal _
lpWindowName As Any) As Integer
Declare Function GetWindowTask Lib "User" (ByVal hWnd As Integer) As Integer
Declare Function PostAppMessage Lib "User" (ByVal hTask As Integer, ByVal
wMsg As Integer, ByVal wParam As Integer, lParam As Any) As Integer
|
примерно так
полный текст проги глянь по ссылке
http://www.pcreview.co.uk/forums/thread-2246592.php