J
Jerry West
I am moving from VB6 to VB .NET so please bear with me. Should I change all
of my API declarations in VB6 that declared Longs to Integers? For example
in VB6:
Declare Function GetClientRect Lib "user32" (ByVal hWnd as Long, ByVal
lpRect as RECT) As Long
Should this now read:
Declare Function GetClientRect Lib "user32" (ByVal hWnd as Integer, ByVal
lpRect as RECT) As Integer
Thanks,
JW
of my API declarations in VB6 that declared Longs to Integers? For example
in VB6:
Declare Function GetClientRect Lib "user32" (ByVal hWnd as Long, ByVal
lpRect as RECT) As Long
Should this now read:
Declare Function GetClientRect Lib "user32" (ByVal hWnd as Integer, ByVal
lpRect as RECT) As Integer
Thanks,
JW