TA_UseTrial() does not return bool values. It returns either TA_OK or another error code. My guess is that you're interpreting a TA_OK value as "false".
More information is needed including exactly what you're passing and and exactly which error code you're getting.
Also: Version of TA?