Hi Guys
I need find a windows do some activity and close it. from my windows application.
the declaration i have
Public Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As any) As Long
the lParam is of type any. which gives error
'As Any' is not supported in 'Declare' statements.
how do i fix it. what do i need to do.
I need find a windows do some activity and close it. from my windows application.
the declaration i have
Public Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As any) As Long
the lParam is of type any. which gives error
'As Any' is not supported in 'Declare' statements.
how do i fix it. what do i need to do.