Advertisement
5_2007-2008 Windows API Call/ Explanation #190615

As Array got elements or not

Not many people know this one, an API that checks if an array as elements or not

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Private Declare Function SafeArrayGetDim Lib "oleaut32.dll" (ByRef saArray() As Any) As Long ----------------------------------
If SafeArrayGetDim(Your array) > 0 Then
 Debug.Print "Array as elements"
End If
Original Comments (3)
Recovered from Wayback Machine