The property is defined in the class with this code:
Code:
Public Property Let PrivateKey(ByRef Prk() As Byte)
The code in a command button defines an array to pass with this code:
Code:
Dim PrKey(39) As Byte
and then passes it to the class's property with this code:
Code:
RSA.PrivateKey = PrKey()
What am I doing wrong? Or is this a bug in VB6 itself?