Hi experts,

------------------------------
Public Declare Function SendMessage Lib "user32" _
Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, _
ByVal wParam As Long, lParam As Long) As Long
------------------------------

here they use data type Long for hwnd if we change this to some other data type like byte and integer will the program shutdown.

And how should I ensure that the existing API declarations in the project are correct...


With warm rgds.
Girish Patil