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




Reply With Quote