S
Si
Hi,
I have a DLL written in VB.NET(2005) and it has a public event that
passes a byte array, when I try and use the event in VB6 I get this
message box when trying to run the app.
---------------------------
Microsoft Visual Basic
---------------------------
Function or interface marked as restricted, or the function uses an
Automation type not supported in Visual Basic
---------------------------
OK Help
---------------------------
I had the same problem when using a .NET long as a property of the DLL,
I know I need to define it as something else but I don't know what.
Heres the declaration in .NET
Public Event DataOut(ByVal Data() As Byte)
heres the Subroutine in VB6
Private Sub Audio_DataOut(ByVal Data() As Byte)
End Sub
Can Anyone help ?
Thanks
I have a DLL written in VB.NET(2005) and it has a public event that
passes a byte array, when I try and use the event in VB6 I get this
message box when trying to run the app.
---------------------------
Microsoft Visual Basic
---------------------------
Function or interface marked as restricted, or the function uses an
Automation type not supported in Visual Basic
---------------------------
OK Help
---------------------------
I had the same problem when using a .NET long as a property of the DLL,
I know I need to define it as something else but I don't know what.
Heres the declaration in .NET
Public Event DataOut(ByVal Data() As Byte)
heres the Subroutine in VB6
Private Sub Audio_DataOut(ByVal Data() As Byte)
End Sub
Can Anyone help ?
Thanks