If the string argument passed to UnlockComponent or UnlockBundle is NOT a purchased unlock code, then the LastErrorText will contain the exact string passed to it by your application.  In this case, the string “Hello World” was passed to UnlockBundle.

If UnlockComponent returns 0/false, check carefully the exact string being passed to it.  Make sure the exact purchased unlock code is passed to it.  (For example, double-check numeric zero’s vs. upper case letter O’s, or lowercase L’s vs. numeric 1’s.  It’s best to copy-and-paste the unlock code received from Chilkat rather than copying visually by typing.)

ChilkatLog:
  UnlockBundle:
    DllDate: Aug  8 2016
    ChilkatVersion: 9.5.0.59
    UnlockPrefix: NONE
    Architecture: Little Endian; 32-bit
    Language: Visual C++ 11.0 (32-bit)
    VerboseLogging: 0
    component: Global
    unlockCode: Hello World
    regKeyUnlock:
      product: ChilkatBundle
      hcCurDate: Mon, 08 Aug 2016 09:44:37 -0500
      hcExpire: 9/2015
      Trial has expired.
    --regKeyUnlock
    Failed.
  --UnlockBundle
--ChilkatLog