Problem Method: TurboActivate.Activate(ExtraData As String)An exception is raised when attempting activation with extra data in 64 bit builds only.The exception value is ret = 19: Case TA_E_INVALID_ARGS Raise new InvalidArgsException
With the corresponding message: "The arguments passed to the function are invalid. Double check your logic."
- Problem NOT seen on Xojo 2017 R2.1 Mac 32 bit and Windows 32 bit.- Problem seen on Xojo 2017 R2.1 Mac 64 bit and Windows 64 bit.- Problem seen with compiled Windows 64 code and Interpreted Mac code.- Problem seen in TurboActivate V-3.4.7 and V-4.0.9.6.
Note 1: I have been using TurboActivate 3.4.7 until now. I have ported my code for version 4.0.9.6 in order to check if the issue was still present (it is!).I will likely keep the latest TurboActivate version once I validate the rest of my code. With both versions of TurboActivate I can do GetKey, IsProductKeyValid, IsActivated, and Deactivate in 32 bit and 64 bit (I have not tested offline activation, deactivation, trials, and trials extension code in 64 bit yet).
Note 2: In order for Activate(ExtraData) to transfer the extra data correctly, I have implemented the suggestion mentioned in:
https://wyday.com/forum/t/3063/activateex-on-xojo-2015-problems-and-solutions/#post-14993
This additional code is required in both TurboActivate V-3.4.7 and V-4.0.9.6. Nonetheless, I have tried to activate with extra data with and without the suggested code, and the error is the same.
I suspect the problem may be due to variable types , i.e. UInt32, UInt64, Integer, and I have made many trials in this regard, without success so far.
Thanks for any help.