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

484 questions
11
votes
1 answer

Delphi 10.3 Rio reduced the number of Android devices supported?

My Delphi 10.2.3 app was submitted to Google Play with the fix from this answer: Delphi Android app API level 26? Google Play reported that this build supports over 400 devices. The same project was built with 10.3 Rio but when it was submitted,…
Mike at Bookup
  • 998
  • 10
  • 20
10
votes
2 answers

Delphi 10.3.1 compiler generates code that issues an exception when compiled to 64 bits

The following code generates an exception (c0000005 ACCESS_VIOLATION) in Delphi 10.3.1 only when compiled to 64-bit. However, the same code does not generate an exception in Delphi 10.3.1 when compiled to 32 bits. Also, it does not fail in Delphi…
Pep
  • 1,905
  • 2
  • 24
  • 39
10
votes
4 answers

Delphi 10.3 Rio - remove the welcome page

Is there a way to get rid of that annoying welcome page when you start the IDE ? With some former versions you could have done it through the registry but I can find it for Rio. Tried renaming the folder 'welcome page' to something else but then I…
user763539
  • 3,021
  • 5
  • 36
  • 85
9
votes
1 answer

Delphi 10.3 Rio - Is initializaiton of inline declared record variables needed?

I am quite excited about Delphi 10.3 Rio inline variable declarations. However I ran into strange problem and it seems that I need to initialize record after it has been inline declared: program Project8; {$APPTYPE CONSOLE} {$R *.res} uses…
Radek Hladík
  • 540
  • 4
  • 13
9
votes
3 answers

DELPHI Where can I add common library path in 10.3 Community version

I have just installed 10.3 Rio Community version and are trying to add mORMot-libraries to it. But I can't find where I shall add it. In my XE6-version it's in the Tools-menu but in 10.3 I can't find it.
larand
  • 685
  • 7
  • 18
8
votes
1 answer

Using Direct2D in a Delphi VCL application affected by DPI scaling

I am investigating replacing GDI with Direct2D in some parts of my applications. To this end, I read the official Embarcadero documentation and created this minimal Direct2D application: unit Unit1; interface uses Winapi.Windows,…
Andreas Rejbrand
  • 95,177
  • 8
  • 253
  • 351
8
votes
0 answers

Delphi - How to correctly register a custom graphic class since Rio 10.3.3

So I'm developing a graphic library providing a custom SVG image format which may be used within a TPicture, or any VCL component supporting a graphic image, like e.g a TImage. I wrote and maintain my library package since the XE7 compiler version,…
Jean-Milost Reymond
  • 1,481
  • 1
  • 10
  • 29
8
votes
1 answer

zero based String

in system.sysutils.pas, in Rio they add this instruction: var intPart: String; ... IntPart.Chars[length(IntPart)] in ['1','3','5','7','9'] ... But as far as i know, s.Chars[xx] will be always zero-based string so doing…
zeus
  • 9,795
  • 5
  • 45
  • 112
7
votes
1 answer

Delphi Rio fails to read external storage with READ_EXTERNAL_STORAGE permissions set

I have a project that I once created in Delphi Seattle and I would now like to move to Delphi Rio. I read the directory structure on an external SD-Card using findfirst/findnext i := findfirst(datadir + '*', faanyfile, ts); datadir variable…
Andre Ruebel
  • 431
  • 3
  • 10
6
votes
1 answer

Delphi reference to procedure weirdness

In Delphi, you can apparently assign an entire chain of method calls to a single variable: program What; {$APPTYPE CONSOLE} type TProc = reference to procedure(); TRecord = record procedure MethodOfRecord(); end; procedure…
spiderface
  • 699
  • 1
  • 6
  • 13
6
votes
1 answer

XMLDoc for Delphi unit name

Is it possible to document unit purpose in Delphi using XMLDoc tag? How? I've tried put summary both before unit: /// Unit purpose: test unit Test; and after: unit Test; /// Unit purpose: test…
Serhii Kheilyk
  • 921
  • 8
  • 23
6
votes
1 answer

Operator IS with a TFormClass

I've a follow situation: TMyFormClass = class of TMyForm function IsMyClass(AClass: TFormClass); begin Result := AClass is TMyForm // Operator not applicable to this operand type Result := AClass is TMyFormClass // Operator not applicable…
6
votes
3 answers

Change text color in delphi (Console application)

I know the question I've asked seems similar to others however it doesn't seem to apply. I am using delphi 10.3 I want to write two texts consecutively in the console application however I want them separate colors writeln('yes just give me a…
Ben Hanley
  • 65
  • 5
5
votes
1 answer

Undeclared identifier soAllDirectories

I'm trying to use the TDirectory.GetFiles function, but when I add a TSearchOptions third parameter to force a recursive search the compiler raises an error saying that soAllDirectories has not been declared. uses System.IOutils, …
Marc Guillot
  • 5,367
  • 11
  • 30
5
votes
0 answers

Size of hints in Delphi 10.3 Rio

In general, the multiple-monitor support in Delphi 10.3 works smoothly. However, I have a problem with the size of hints on multiple monitors. To reproduce the problem you need a multiple monitor system, preferably with identical monitors. Create a…
Matej
  • 334
  • 2
  • 8
1
2 3
32 33