Questions tagged [delphi-10.3-rio]

Delphi 10.3 Rio is a specific version of Delphi released in November 2018.

Delphi 10.3 Rio supports development of applications covering 32-bit and 64-bit, 32-bit, 32-bit and 64-bit, 32-bit, and server 64-bit. Windows applications may be built using either the framework or the (FMX) framework, whereas the OSX and mobile platforms are built under the FireMonkey framework only.

This version of Delphi brings several enhancements to the core Delphi pascal language, including inline variable declarations and type inference, as well as RTL performance improvements, and changes to Delphi's ABIs for better C++ interoperability across all platforms. It also sports several IDE UI redesigns, better High-DPI support to the VCL, support for iOS 12 and Android API level 26+, and begins Embarcadero's push to phase out its ARC memory management model for TObject classes, starting with the Linux 64-bit compiler.

Always use the tag alongside this tag.

References

546 questions
2
votes
1 answer

Why does MSFT_PhysicalDisk always returns disk Size = 0?

I need to get some info about the physical disks using WMI MSFT_PhysicalDisk class. It has all I need, but returned disk Size is always zero... Why is this happening ? Am I doing something wrong or it normal this behavior ? I use this code: program…
Marus Gradinaru
  • 2,824
  • 1
  • 26
  • 55
2
votes
0 answers

Delphi Type library editor Refresh creates duplicates of all inherited Interface members in derived class implementation files

Using the delphi Type Library editor, If I create an interface with several properties and then a second interface which inherits from the first interface....when I press the refresh button which updates all the implementation files, duplicates of…
Andy k
  • 1,056
  • 1
  • 11
  • 22
2
votes
0 answers

Delphi type library editor does not create .tlb file

I have been trying to follow this tutorial I found: How to call Delphi code from scripts running in a TWebBrowser (part 2 of 6) It explains how I can call Delphi functions through JavaScript. I don't properly understand how it works, but at the…
2
votes
1 answer

How to detect Hint sender-control in OnHint event-handler?

In a Delphi 10.3.3 Windows VCL Application, in the OnHint event-handler of a TApplicationEvents component, I show the current hint in the status-bar: procedure TForm1.ApplicationEvents1Hint(Sender: TObject); begin statMain.SimpleText :=…
user1580348
  • 5,721
  • 4
  • 43
  • 105
2
votes
1 answer

TVirtualImageList and Form Inheritance in Delphi Rio

I placed TImageCollection on TDataModule and TVirtualImageList on Form1. Added a couple Images to TImageCollection and linked TVirtualImageList to TImageCollection. All is working perfect. Add Form2 that descends from Form1. When trying to save…
M Vukovic
  • 21
  • 1
2
votes
1 answer

Code Editor not recognizes Russian characters

I'm trying to translate some parts of a project example where all comment parts and console output are in the Russian language, but when the project is opened via IDE, seems that Code Editor does not recognize this language, example: Then, exists…
2
votes
1 answer

Why do I leak memory in EOutOfResources?

I try to implement a wrapper around this jpeg decoder library (original by Arnaud Bouchez). The library is DAMN fast but it does not support all jpegs! For very large jpg files it fails (as expected) with a EOutOfResources exception. So I try to…
Gabriel
  • 20,797
  • 27
  • 159
  • 293
2
votes
1 answer

How to keep my (custom) IDE color scheme after switching themes?

Delphi Rio comes with two color schemes: dark and light. I open Tools->Options->Editor->Color and changed the dark color scheme to make it even darker. But after switching to the 'light' theme and then back to the 'dark' theme my colors were lost:…
Gabriel
  • 20,797
  • 27
  • 159
  • 293
2
votes
1 answer

TForm.PixelsPerInch has no effect in Delphi Rio 10.3.3

As already described in How PixelsPerInch works in Delphi 10.3 Rio? and Form.PixelsPerInch no longer used in Delphi Tokyo TForm.PixelsPerInch has no effect in Delphi Rio (I use Rio 10.3.3). I can change its value (either in the IDE or by editing the…
Matej
  • 442
  • 3
  • 9
2
votes
1 answer

Diagnose app crashing on startup in specific machines?

Recently i upgraded from Delphi 2007 to 10.3.3 . The same app when compiled with 10.3.3 will crash at startup, but only in some machines ; in my environment i could not simulate the problem but some of my customers are having this issue. If i…
delphirules
  • 6,443
  • 17
  • 59
  • 108
2
votes
0 answers

64 bit Delphi android application was not running in 32 bit mobiles

I'm using Delphi 10.3.3. As per the Google Policy, all the new android apps should be 64 bit. So, I have uploaded the 64 bit android application. After this few mobiles was not able to run the 64 bit app. IS there any possible was to fix this issue?
Ias Trainer
  • 79
  • 1
  • 8
2
votes
2 answers

Where are the Delphi path variables declared?

After a fresh install of the Delphi 10.3.3 IDE (in a VM), I installed Abbrevia from GetIt. Here is the Library Path from the Options dialog: Then I searched for the Abbrevia folder in the Windows file-system, but could not find it. The…
user1580348
  • 5,721
  • 4
  • 43
  • 105
2
votes
0 answers

How to handle dark mode in Delphi iOS apps

When the iPhone is in dark mode, my Delphi 10.3.3 app renders half the TLabel TListBox texts in regular black and the other half in an extremely light gray (almost unreadable). What must be done to make Firemonkey components work well with iOS dark…
Mike at Bookup
  • 1,211
  • 14
  • 32
2
votes
1 answer

Different file hash of shortcut file when shortcut created from 32-bit or 64-bit program

I create a ShellLink Shortcut from a 64-bit program: program ShellLinkShortcutHashTest; {$APPTYPE CONSOLE} {$R *.res} uses Winapi.Windows, JclShell, Winapi.ActiveX, IdHashMessageDigest, System.Classes, System.SysUtils; const …
user1580348
  • 5,721
  • 4
  • 43
  • 105
2
votes
1 answer

ON CONFLICT(id) DO UPDATE SET does not work for FireDAC in DELPHI 10.3.1

After attaching the second database I tried to insert and update data in the table of the first database using ON CONFLICT(id) DO UPDATE. Field id is the primary key for the first table. FDQuery1.EXECSQL('ATTACH ''D:\Update2019.DB'' AS…
Avrob
  • 533
  • 2
  • 10
  • 20