Passing Byte arrays to a function...?
Ok, I know a funtion can return a byte array:
VB Code:
Private Function Woof() As Byte()
'Blah Blah
End Function
Now why can't I do this:
VB Code:
Private Function Woof(ByVal Buffer() As Byte) As Byte()
'Blah Blah
End Function
:confused:
But...ByRef works!!! Hmmmmmmmmm...any ideas?
Woka
Public Enums in classes...how to decalre them???
OK, I have 2 DLLs I want the same Enums in both...Should I just add a private class and just add all my enums publicly in there.
God knows why you can't define them in a module?
Woka