limeLM API and FireMonkey

Hi, It is our intention to use the LimeLM API in a cross platform application developed in Firemonkey.After digging around on the internet, I managed to find sufficient information to be able to convert the TurboActivation.pas file to one that could be used for either windows or OSX deployment. I have modified the test project supplied in the windows API zip file to be deployable on either windows or OSX. The program appears to run fine on windows and OSX and does not throw any errors, however, whilst the function TurboActivate.IsGenuine returns 'NotGenuine' on windows (indicating that the dll is communicating with the LimeLM servers without any problems) on OSX, I get an error message telling me that the GUID supplied does not match the GUID in the TurboActivate.DAT file.(Again, this would hint that the exe is communicating with the dylib file ok) Do I need a different .DAT file for OSX ?- is there any way I can retrieve the GUID in the .DAT file on OSX to compare to the one it should be?any help would be appreciated.Regards

Do I need a different .DAT file for OSX ?- is there any way I can retrieve the GUID in the .DAT file on OSX to compare to the one it should be?

Windows uses unicode in the form of double-byte characters (UTF-16) and Mac OS X, Linux, etc. use unicode in the form of multi-byte characters (UTF-8). That's a long way of saying that it's probably a case of you passing in the correct Version GUID, but it's not passing that string to the TurboActivate library correctly. See this forum post to see how to fix it.

Hi Wyatt, That did the trick, thank you.It now leads me on to another question though, the trial Delphi app now appears to work OK on the Mac but it is telling me I have 29 days left on the evaluation, even though on windows (using the same .Dat file) the trial expired long ago. Is this normal?

Well, it depends. If you used your app on Windows long ago, then yes, that's normal. Also, if you played around with the system time then TurboActivate detects fraud attempts and sets the trial days remaining to 0. But you can always use trial extensions.