We haven't tested with Delphi Firemonkey, but our Delphi code should work with minimal modifications to work under Delphi Firemonkey (both use Pascal).
What errors did you get when compiling the TurboActivateUnit.pas?
I have developed a desktop app in Delphi Firemonkey. My code works on both Windows and OS X. I have been struggling to integrate LimeLM into my program. For example, the unit TurboActivateUnit.pas appears compatible with Delphi VCL but not with Delphi Firemonkey. Please could you suggest a way forward.
BTW there was a discussion about this in this forum in 2015 but I didn't find the information in that discussion helpful.
We haven't tested with Delphi Firemonkey, but our Delphi code should work with minimal modifications to work under Delphi Firemonkey (both use Pascal).
What errors did you get when compiling the TurboActivateUnit.pas?
I started by recreating the Delphi sample program in Firemonkey. This was necessary because TForm, TMemo, TLabel etc. are not the same components in Firemonkey as in the VCL although they share the same names. The sample program broke down on the line ta := TurboActivate.Create('...'). There was no error message; the program just would not run or else crashed silently on start up. Looking at TurboActivateUnit, it uses units SysUtils and Windows. I don't think either of these units are valid in Firemonkey.
May I ask if there is any chance that you will be making the necessary modifications to your Delphi code so that it will work under Firemonkey? You did say above that you thought the modifications should be minimal.
We'll look into creating a FireMonkey version. It should work out of the box, but we need to confirm that.
>> "The sample program broke down on the line ta := TurboActivate.Create('...'). There was no error message; the program just would not run or else crashed silently on start up."
You might be getting an exception.
>> "Looking at TurboActivateUnit, it uses units SysUtils and Windows. I don't think either of these units are valid in Firemonkey."
I believe those are valid. However Firemonkey can also target macOS, and it wouldn't build for that platform. We'll work on a simple example for you. Do you currently need macOS support?
Yes, I need macOS support. I'm producing windows and mac versions of my program from the same Firemonkey code base.
OK, we'll put together a simple example.
I was wondering if you could provide an estimated date by which the simple example would be available.
Hey Peter,
We can shoot you a working example today if that works. We haven't written the documentation for it (i.e. how to test your app on macOS), but we've already done the work of modifying the Delphi VCL example to Delphi FireMonkey and to work on Windows and macOS.
Thank you so much! I look forward to receiving it.
Hey Peter, I've sent the email with a link to the beta version of the code. The final version will be included with the next release (TA 4.1). No hard date on that.