Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
LastErrorTextHow to get RSA debugging information. If any RSA method returns a failed status, check the contents of the LastErrorText string property. Send it to support@chilkatsoft.com if you need further help.
// Needs #include <CkRsa.h> CkString strOut; CkRsa rsa; bool success; success = rsa.UnlockComponent("Anything for 30-day trial"); if (success != true) { // The LastErrorText provides detailed information about // any failure. It is standard to all Chilkat components. // This is good information to send to support@chilkatsoft.com strOut.append(rsa.lastErrorText()); strOut.append("\r\n"); SetDlgItemText(IDC_EDIT1,strOut.getUnicode()); return; } success = rsa.GenerateKey(1024); if (success != true) { // The LastErrorText provides detailed information about // any failure. It is standard to all Chilkat components. // This is good information to send to support@chilkatsoft.com strOut.append(rsa.lastErrorText()); strOut.append("\r\n"); SetDlgItemText(IDC_EDIT1,strOut.getUnicode()); return; } SetDlgItemText(IDC_EDIT1,strOut.getUnicode()); |
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2008 Chilkat Software, Inc. All Rights Reserved.