This was marked in my code.
Public Function EnumCallback(ByVal Handle As Integer, ByRef wins() As WinLabel) As Integer
Public Function ListWindows(ByRef wins() As WinLabel, Optional ByRef hwnd As Integer = 0) As Integer
Dim res As Integer
If hwnd Then
'UPGRADE_WARNING: Add a delegate for AddressOf EnumCallback
res = EnumChildWindows(hwnd, AddressOf EnumCallback, wins)
This is the ERROR
'AddressOf' expression cannot be converted to 'Integer' because 'Integer' is not a delegate type.
What is a delegate type and why is this a problem? EnumCallback is already an integer.