Chilkat v9.1.0 for Linux – Python 2.5, 2.6 ready for Beta testing

Download 64-bit Python 2.5: chilkat-9.1.0-Python-2.5-x86_64-linux.tar.gz 64-bit Python 2.6: chilkat-9.1.0-Python-2.6-x86_64-linux.tar.gz 32-bit Python 2.5: chilkat-9.1.0-Python-2.5-i686-linux.tar.gz 32-bit Python 2.6: chilkat-9.1.0-Python-2.6-i686-linux.tar.gz Install Instructions Login as root and decompress and unpackfrom the root (“/”) directory. su cd / gzip -dc chilkat-9.1.0-python-2.5-linux-x86_64.tar.gz | tar -xof – That’s all.  However, please read the information below to find out where the files are unpacked. If your Python install […]

Chilkat v9.1.0 for Perl 5.8, 5.10 on Linux read for Beta Testing

Downloads Perl 5.8, 64-bit: chilkat-9.1.0-Perl-5.8-x86_64-linux.tar.gz Perl 5.8, 32-bit: chilkat-9.1.0-Perl-5.8-x86-linux.tar.gz Perl 5.10, 64-bit: chilkat-9.1.0-Perl-5.10-x86_64-linux.tar.gz Perl 5.10, 32-bit: chilkat-9.1.0-Perl-5.10-x86-linux.tar.gz Install Instructions A. Decompress and unpack to any directory. gzip -dc chilkat-9.1.0-Perl-5.8-x86_64-linux.tar.gz | tar -xof – B. BUILD Go into the newly-created directory and type: perl Makefile.PL make make test C. INSTALL While still in that directory, type: make install Make sure you […]

SFTP OpenFile Succeeds, but ReadFileBytes Fails

SSH/SFTP servers are notoriously bad at providing any sort of useful information about the cause of a problem. This is one of those cases. It was discovered that for one particular server, if a remote file is opened (via the OpenFile method) using “readWrite” access, then the OpenFile succeeds, but a subsequent call to a method such as ReadFileBytes fails. […]

Passing Strings to COM/ActiveX in C++ Builder

In C++ Builder, when passing a string to an ActiveX (COM) function, a BSTR is required. This is different than a NULL-terminated WideString. The correct syntax looks like this: long lSuccess; BSTR bstr = SysAllocString(L”UnlockCode”); spChilkatMHT->UnlockComponent (bstr, &lSuccess); SysFreeString( bstr ); The following is incorrect because a NULL-terminated WideString is passed, and not a BSTR: // This code will probably […]

IMAP Authentication using OAUTH

Using the Chilkat IMAP component/library, it is possible to authenticate using OAUTH via the SendRawCommand method. Instead of calling the imap.Login method, you would instead call imap.SendRawCommand as shown here: string response = imap.SendRawCommand(“AUTHENTICATE XOAUTH <base64_data>”); Your application will need to compute the OAUTH base64 string. Chilkat does not implement that computations required for generating the OAUTH data.

Using regsvr32 to Register a 32-bit ActiveX or 64-bit ActiveX on Windows 64-bit System

A 64-bit Windows system has two separate registries — one for 32-bit processes, and one for 64-bit processes. The reason for this is simple: Let’s say your application instantiates an instance of an ActiveX component by calling CreateObject(“Chilkat.Ssh”). If your application is running in a 32-bit address space, the registry entries for “Chilkat.Ssh” should point to a 32-bit DLL in […]