Thanks for the clarification.
The IsTrial() function is intended to work only when the workbook is running inside the compiled XLS Padlock application, not while testing the original workbook directly in Excel.
So in your original workbook, this line:
Set XLSPadlock =...