Arrrrrrhhhhhhhh!!!!
problems with the data types now...
uhhh i can't pass an array to my functions in the dll
could some1 check this code out pls
This is in VB.net
Option Explicit On
Public Interface iCommonImageProcessing
Function test(ByRef temp() As Short)
End Interface
Public Class CommonProcessingFunctions : Implements iCommonImageProcessing
Public Function test1(ByRef temp() As Short) Implements iCommonImageProcessing.test
Dim te as string
Dim i, j As Integer
For j = 0 To UBound(temp, 2)
For i = 0 To UBound(temp, 1)
te = te & temp(i, j)
Next
Next
MsgBox(te)
End Function
End Class
This is in vb6
Private Sub Command1_Click()
Dim b As CommonImageProcessing.iCommonImageProcessing
Set b = New CommonImageProcessing.CommonProcessingFunctions
Dim mask(2, 2) As Integer
For j = 0 To 2
For i = 0 To 2
mask(i, j) = -1
Next
Next
b.test (mask)
end sub
PS : short in vb.net is equal to integer in vb6