Firemonkey MacOS Problems

I'm using Delphi XE8 Firemonkey and the Delphi-FM-Beta that you sent me the other day.

I've included \TurboActivate-Mac-4.0.9.6.zip\builds\libc++\libTurboActivate.dylib in my deployment.

I can see from the dashboard that the app is on a verified trial, and it behaved as such until the trial ran out. Now that I'm trying to enter a product key, the CheckAndSavePKey function is returning 1.

I'm saw that your sample included libcgsqlite3.dylib, but thought that it was just a leftover, but now I'm wondering if it's required. (It doesn't come with XE8 or my FireDAC got wacked) Is that file required?

>> "Now that I'm trying to enter a product key, the CheckAndSavePKey function is returning 1. "

More information is needed. Add a breakpoint right before and after the actual native function is called in the "wrapper" pas file.

Is the string being properly encoded as a UTF8? What other options are you using? Did you pass in a trial extension or a product key (they're different things).

>> "I'm saw that your sample included libcgsqlite3.dylib, but thought that it was just a leftover, but now I'm wondering if it's required. (It doesn't come with XE8 or my FireDAC got wacked) Is that file required?"

No, it's not required. It's whatever cruft that Delphi includes when you create a default project.

For TurboActivate.Create, I've tried several variable types, mimicking what is done in the turboactivate.pas file, but the dll either doesn't find the file or acts as though it does. I've even tried using the default filename and passing nil. As far as I can tell, that function works.

I'm passing in a Product key. (all of the code works on windows, so it's just a matter of passing the right data types).

I'm calling the CheckAndSavePKey function with a variable declared as a String, just as the parameter says and just as the demo file shows as passing txtKey.text (.text property being a String). Basically this:

// FtrialFlags := TA_USER or TA_VERIFIED_TRIAL;sKey : String;sKey := Trim(txtProductKey.text);if Fta.CheckAndSavePKey(sKey, FTrialFlags) then begin

Setting a breakpoint in the wrapper shows that the return value of TA_CheckAndSavePKey (ret) is 1.