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