What is the proper way to initialize a variable as a structure? It
seems to work for me either way, using the New keyword or not.
Private Structure FLASHWINFO
Dim cbSize As Int32
Dim hwnd As Int32
Dim dwFlags As Int32
Dim uCount As Int32
Dim dwTimeout As Int32
End Structure
Dim FI As FLASHWINFO
--OR--
Dim FI As New FLASHWINFO
Both seem to work fine.
*** Sent via Developersdex http://www.developersdex.com ***