Archived Forum PostQuestion:
My code
Dim CkCert As New ChilkatCert
Dim Info As TInfoCer
Dim success As Boolean
success = CkCert.LoadFromFile(sArchivoCer)
If (success <> True) Then
MsgBox (CkCert.LastErrorText)
Exit Function
End If
Return:
ChilkarLog: LinkPrivateKey: DllDate: Dec 29 2015 ChilkatVersion: 9.5.0.55 UnlockPrefix: NONE Username: CAJA3:SISTEMAS Architecture: Little Endian; 32-bit Languaje: ActiveX VerboseLogging: 0 KeyContainer: C:\Datos\Archivo.cer machineKeyset:1 forSigning: 1 No certificate -- LinkPrivateKey -- ChilKatLog
this error is sent only on a PC with Windows Vista 32. It works with the same file on other PCs.
You've provided the LastErrorText for the "LinkPrivateKey" method. The "LinkPrivateKey" method shouldn't ever be necessary. It's not yet deprecated, but probably should be. Also, the Csp and KeyContainer classes are deprecated and shouldn't ever be needed.