Hi guys
I converted a VB6 project to a VB 2005 project. All went well, but there is an error in this code:
VS2005 tells me:
Error 1 'As Any' is not supported in 'Declare' statements.
Can someone help me fix this? Thanks
I converted a VB6 project to a VB 2005 project. All went well, but there is an error in this code:
Code:
Private Declare Function SendMessage Lib "user32.dll" Alias "SendMessageA"(ByVal hwnd As Integer, ByVal Msg As Integer, ByRef wParam As Any, ByRef lParam As Any) As Integer
Error 1 'As Any' is not supported in 'Declare' statements.
Can someone help me fix this? Thanks
Comment