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
1
vote
2 answers

One-line rendering of a multi-line DBMemo in a TDBCtrlGrid

I am using a TDBCtrlGrid with a multi-line DBMemo in Delphi 10.3. When the panel is in focus, the behavior is normal. In unfocused panels, the text becomes a single line. How do I make all panels look the same? The value of the fields for different…
Alex R.
  • 266
  • 2
  • 9
1
vote
2 answers

Is it normal Indy behavior to stop working when I open Windows' WiFi menu?

I write this minimal example to test a strange behavior I found in Indy. I have a TCP server and client, and I send 50 x 2MB buffers from client to server. If I open the Windows WiFi menu (the one you use to connect to a network), my TCP transfer is…
Marus Gradinaru
  • 2,824
  • 1
  • 26
  • 55
1
vote
2 answers

My Basic Android App closes after splashscreen

I have created a basic Android64 app, with just one button and managed to build it. After installing it on my device (sideloaded), I see the app in the startmenu but once I start it it shows a splashscreen and then closes. I never get to see the…
Wolfgang Bures
  • 509
  • 4
  • 12
1
vote
1 answer

EAccessViolation error when loading or switching desktops

I upgraded from 10.3 (Rio) to 10.4 (Sydney) (with side-by-side installs), now having IDE docking exception, e.g. Loading the desktop from "C:\Users\gary.walker\AppData\Roaming\Embarcadero\BDS\21.0\Default Layout.dst" for doc host windows "DockSite3"…
Gary Walker
  • 8,831
  • 3
  • 19
  • 41
1
vote
1 answer

Undeclared identifier for nested types from ancestor

I don't understand why the descendant class TChild can't see the ancestor nested type TLNested and the compiler still reports an error that it cannot find it. E2003 Undeclared identifier: 'TLNested' The original simplified hierarchy looks like…
Triber
  • 1,525
  • 2
  • 21
  • 38
1
vote
1 answer

Code executes differently on Windows and Android

I'm coding a simple game called Jotto. A player tries to guess a secret five letter word; each letter is unique. After each 5-letter guess word you're told how many letters in the guess are also in the secret word. It's my first attempt at…
Al C
  • 5,175
  • 6
  • 44
  • 74
1
vote
1 answer

Delphi's Android Installer Combined with Android Studio

I have Delphi 10.3 CE, setup for only Windows development. I'd like to now set it up for Android development. I would, however, also like to add Android Studio (Flutter) to the same machine. Assuming I'd like the installations to go as easily and…
Al C
  • 5,175
  • 6
  • 44
  • 74
1
vote
2 answers

What is the purpose of method First in a TAdoQuery in Delphi

Could you please explain to me the purpose of the following lines, especially for the First method ? TestQ.First; while not TestQ.Eof do
yannis_kal
  • 55
  • 6
1
vote
1 answer

Delphi FMX et OpenStreetmap

I want to add a map in my application that contains a list of nearby stores. I wanted to integrate OpenStreetMap but I don't know where to start, even when I tried to add the TWebBroweser component and i put the url" www.openstreetmap.org" i don't…
1
vote
2 answers

Can I write a file to a specific cluster location?

You know, when an application opens a file and write to it, the system chooses in which cluster will be stored. I want to choose myself ! Let me tell you what I really want to do... In fact, I don't necessarily want to write anything. I have a HDD…
Marus Gradinaru
  • 2,824
  • 1
  • 26
  • 55
1
vote
1 answer

What is the purpose of GStack.HostToNetwork in Indy?

I saw that Indy, by default, coverts data which must be sent in some "network format", and when is received, is converted back. What is the point of doing this ? Between the Write and the Read from the socket no one uses those values that only "I"…
Marus Gradinaru
  • 2,824
  • 1
  • 26
  • 55
1
vote
2 answers

Removing elements from an array of records containing string fields?

Check the example below... I have an array TSrvClientList.Items with record elements. These elements have string fields. When I remove an element, I need to move the following ones in that empty space left. I don't like to copy field by field... And…
Marus Gradinaru
  • 2,824
  • 1
  • 26
  • 55
1
vote
1 answer

How can I initialize my custom IdIOHandler fields?

This is blowing my mind... I just want to make a new IdIOHandler, and, as usual, I need to do some initialization in the constructor... Normally, I override the constructor of the base class, but this TIdIOHandlerStack which I inherit from, is far…
Marus Gradinaru
  • 2,824
  • 1
  • 26
  • 55
1
vote
0 answers

No Release and Debug folders in Legacy Project

I'm trying to modernize a legacy Delphi project (probably from Delphi 7). I'm using Delphi 10.3.3 now. When I build the project, Delphi creates the .exe file in the project directory. But I want the .exe file to be created in Win32\Release or…
Xel Naga
  • 826
  • 11
  • 28
1
vote
1 answer

How to use TIdWhois with SOCKS proxy

I'm getting whois information using this code: IdWhois1.Host := 'whois.nic.tld'; ServerResultStr := IdWhois1.WhoIs('google.tld'); But I need to query the whois server (port 43) using a SOCKS proxy server. I'm using Delphi 10.3.3. Is there any way…
Xel Naga
  • 826
  • 11
  • 28