AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Delphi-PRAXiS - Lounge Delphi-News aus aller Welt Delphi Android 64-bit In-App-Purchase Fix
Thema durchsuchen
Ansicht
Themen-Optionen

Delphi Android 64-bit In-App-Purchase Fix

Ein Thema von DP News-Robot · begonnen am 19. Dez 2019
Antwort Antwort
Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
15.392 Beiträge
 
#1

Delphi Android 64-bit In-App-Purchase Fix

  Alt 19. Dez 2019, 10:30
After our release of RAD Studio 10.3.3, which includes for the first time Delphi Android 64-bit support, a few customers have reported issues with when recompiling applications that use the TInAppPurchase*component. When these applications are compiled for 64-bit Android and runtime they raise an access violation.

You can see a couple of reports at*https://quality.embarcadero.com/browse/RSP-27228*and*https://quality.embarcadero.com/browse/RSP-27140.

These reports were escalated yesterday by two different customers, and we had our team have a look. It turns out we missed one of the required steps for migration to 64-bit in that component, namely shifting a data type from Cardinal (same size on all platforms) to NativeUInt*(which is platform specific). This is achieved by using the TFmxHandle*type.

The workaround to address the issue is to make a copy of the*FMX.Helpers.Android.pas file, part of the FMX sources (installed by default under*C:\Program Files (x86)\Embarcadero\Studio\20.0\source\fmx), copy into the project folder, add it to the project, and change line 250 of that unit from

FTimerHandle: Cardinal; to:

FTimerHandle: TFmxHandle; You can see the code snippet in the image below. This addresses the problem (and we'll include the fix in the next release of RAD Studio).





Weiterlesen...
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 03:41 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz