Zip DecryptPassword and EncryptPassword

Question: I’m confused about DecryptPassword and EncryptPassword. I want to encrypt the files I am emailing. I want the recipient to be required to enter a password when they try to open the zipped file. Do I EncryptPassword or DecryptPassword? Answer: Use DecryptPassword when using the Chilkat Zip component / library to open an encrypted zip. Use EncryptPassword when writing […]

Deleting email in GMail

(A tip from a Chilkat customer.) The only way to delete emails on Gmail is in three steps: 1. Copy the email(s) to the folder called [Gmail]/Trash 2. Select all of the emails in [Gmail]/Trash and set the Deleted flag 3. Execute ExpungeAndClose or Expunge command I found that this is the only way to truly delete emails from Gmail.

Aborting in C++

The technique for aborting any time-consuming Chilkat C++ method call follows this recipe: Declare your own class that derives from the appropriate Chilkat progress monitoring class.  For CkMailMan it is CkMailManProgress (as shown below).  For other Chilkat classes it is CkHttpProgress, CkFtpProgress, CkImapProgress, CkZipProgress, etc. Create an implementation for the AbortCheck method.  This will override the default implementation from the […]

Tomcat UnsatisfiedLinkError

If Java (running under Tomcat or any other environment) cannot load the Chilkat library, make sure the chilkat.dll and chilkat.jar are located in a directory listed in the java.library.path. You can view the java.library.path in your environment by inserting this line of code: System.out.println(System.getProperty(“java.library.path”))

Ruby “require” statement

Question: I am evaluating your product for ruby on windows xp and followed the quick start and unzipped the files into a new directory on my C drive. In my script where it calls for chilkat with the “require chilkat” statement, I get an error that says that gem can’t be found on the system. I tried doing a gem […]

ActiveX on 64-bit OS; Which to use: 32-bit DLL or 64-bit DLL?

Question: Help clarify something for me please. I develop in a 32bit environment, but deploy to windows 2003/2008 64bit servers. Do I install the 64bit or the 32bit ActiveX on the servers? Answer: In Visual Studio C/C++ applications, you may target either win32 or x64. If your application targets win32, you should register (using regsvr32) and use the 32-bit Chilkat […]

regsvr32 0x80020009 error and solution

Question: I am having a problem registering the ChilkatCrypt2.dll and ChilkatMail_v7_9.dll files using regsvr32. I get the following error message: 0x80020009 I am using Windows Server 2008 R1 and will also need to register on 2008 R2 (have not tried yet). Solution: Regsvr32 needed to be run in a command window that was run as an administrator. Also: Regarding regsvr32 […]

Chilkat 9.0.7 Release Notes

The following changes, fixes, and new features are available in version 9.0.7. SFTP Performance improvements for upload and download transfer rates. MaxPacketSize property default changed to 8192, which seems to be optimal in most cases. Added the following methods/properties: AccumulateBytes, AccumulateBuffer, ClearAccumulateBuffer. FTP2 Modes 4 and 5 added to SyncRemoteTree: mode 4 = transfer missing files or files with size […]