Sende SAFEARRAY til object
Jeg skal have smidt et safearray til et COM object, men jeg får besked om en syntaks fejl... Er der nogen hajer der kan se noget?Sub RVCtl_Search()
arr(0) = Long filterCamera[9]
arr(1) = filterCamera[0] = 9
arr(2) = filterCamera[1] = 1
arr(3) = filterCamera[2] = 0
arr(4) = filterCamera[3] = 0
arr(5) = filterCamera[4] = 0
arr(6) = filterCamera[5] = 0
arr(7) = filterCamera[6] = 0
arr(8) = filterCamera[7] = 0
arr(9) = filterCamera[8] = 0
arr(10) = filterCamera[9] = 0
RVCtl.SetSearchFilter(arr * pvarSearchFilter)
End Sub