Sample code for 30+ languages & platforms
Unicode C++

Unlock Chilkat FTP2

Demonstrates how to unlock the Chilkat FTP2 functionality. The UnlockComponent method should be called once at the beginning of the program. Once unlocked, all subsequent objects are created in the unlocked state. There is no need to call UnlockComponent for every instance of a Chilkat object.

The object that called UnlockComponent may be discarded (deleted, deallocated, etc.). It does not need to remain in existence for subsequent objects to be already unlocked when created.

Also, the LastErrorText method can be examined to verify that a purchased unlock code was indeed recognized.

Chilkat Unicode C++ Downloads

Unicode C++

void ChilkatSample(void)
    {
    // See Global Unlock Sample for sample code.
    }