UnlockComponent LastErrorText shows exact string passed to it.
Question:
UnlockComponent returns a failed status (0 / false) with this information in LastErrorText:
ChilkatLog: DllDate: Feb 15 2010 component: Zip unluckCode: Anything for 30-day trial RegKey: LibDate: Feb 15 2010 dateStr: 6 6 2010 mdy: 6/6/2010 keyT: 1278367200 curT: 1279490400 curDT: Mon, 19 Jul 2010 17:09:24 +0200 Trial has expired: 38
Answer:
If the string argument passed to UnlockComponent is NOT a permanent unlock code, then the LastErrorText will contain the exact string passed to it by your application. In this case, it is easy to see that the string “Anything for 30-day trial” was passed to UnlockComponent. To resolve the problem, check carefully the exact string being passed to UnlockComponent. Make sure the permanent unlock code is passed to it.