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

"Class TForm1 not found" upon launching Delphi Android app. App works fine

I've made a simple Android app in Delphi which creates a login form. The issue I'm having is that when I run it on Android phone, the app starts fine, but pops up a message "Class TFormLogin not found" (approx 100ms after FormLogin is already…
Kromster
  • 7,181
  • 7
  • 63
  • 111
2
votes
0 answers

How to deal with HTTP/1.1 412 Precondition Failed Error?

I use the indy http component (tidhttp) to get the HTML content of any web site. It works for most web sites. "HTTP/1.1 412 Precondition Failed" error is encountered if I try a certain web site (http://banque-en-ligne-global.com). The URL works on…
Xel Naga
  • 826
  • 11
  • 28
2
votes
0 answers

How to create ListView during runtime (ItemAppearance = DynamicAppearance)?

I need to create a ListView at runtime, where ItemAppearance is set as DynamicAppearance, and then populate the ListView with values. I know how to work with such a ListView created at design-time, but I can't find any information on how to…
Mindaugas
  • 115
  • 2
  • 11
1
vote
0 answers

Numbering of the entries in the STRINGTABLE of an .exe

In Delphi, the entries in the STRINGTABLE resource in the .exe file are created automatically. The numbering (resource-id) of the entries is managed by Delphi itself, and this cannot be changed. Is there a possibility to influence this numbering in…
Bruno
  • 11
  • 1
1
vote
0 answers

How get Windows version (on format: 2004, 21H1, 22H2 ...)?

How get Windows version (on format: 2004, 21H1, 22H2 ...)? See:
FLASHCODER
  • 1
  • 7
  • 24
1
vote
1 answer

Is there a way to find where an object of a certain type is being destroyed?

When working on a big codebase, it's hard to keep track of where an object is being destroyed, especially if you didn't write the code yourself. Is there a way to search through a project and find all places where a variable of a certain type is…
KleberPF
  • 120
  • 1
  • 7
1
vote
1 answer

How to highlight mouse pointer position using Delphi

I want to create a simple mouse pointer highlighter. A circle centered at the mouse pointer. It must be semi-transparent and visible everywhere (in and out of my application). Any idea is appreciated. Example:
Xel Naga
  • 826
  • 11
  • 28
1
vote
1 answer

Disable runtime themes not with the GUI project options

I'm looking to control runtime themes in a way that is friendly for version control tools. Be it programmatically, or by some configuration such as a text based manifest file (but not the DPROJ file through the GUI project options). Is there any…
Khorkhe
  • 1,024
  • 1
  • 11
  • 26
1
vote
0 answers

How to get S.M.A.R.T. information from USB devices?

I have 2 drives in my computer and 1 drive attached via USB. When I use this code I correctly get 3 devices: function TForm1.GetHDDCount: integer; var f, i: integer; begin Result := 0; for i:=0 to 99 do begin f :=…
Tom
  • 2,962
  • 3
  • 39
  • 69
1
vote
1 answer

Loading resources at design time?

Is it possible to load a resource at design time? I am making a speed button component, and I want to automatically load a new image from the resource whenever the button size changes. It already works properly at run time, but at design time, after…
Marus Gradinaru
  • 2,824
  • 1
  • 26
  • 55
1
vote
0 answers

Connection error with TIdHTTP in Delphi application. How to solve it?

I have a software which is working faultlessly for 2 years now. This software connects to our remote server every 5 days to check for version updates as well as users license status. But from yesterday it has suddenly started giving an error when…
Yogi Yang 007
  • 5,147
  • 10
  • 56
  • 77
1
vote
0 answers

How to write a text file as fast as possible in Delphi?

I'm using this code to save/write a plain-text file: var i: int64; myFile : TextFile; bytes: int64; begin AssignFile(myFile, FileName); ReWrite(myFile); CloseFile(myFile); Append(myFile); bytes:=1073741824; // 1GB i:=1; …
Xel Naga
  • 826
  • 11
  • 28
1
vote
1 answer

Case-sensitive MatchesMask alternative in Delphi

I use the code below for detecting desired files: uses Masks; begin if MatchesMask(MyFilename, '*.Exe') then begin // Do Something end; end; However, as stated in the official documentation, MatchesMask is case-insensitive. Is there any…
Xel Naga
  • 826
  • 11
  • 28
1
vote
1 answer

How to get the Android API version at runtime from Delphi Rio?

In my Java code, I can easily test the current API level at runtime with something like: if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { doSomething(); } How can I find the equivalent of Build.VERSION.SDK_INT in Delphi Rio? I tried to look…
EricC-59
  • 119
  • 2
  • 9
1
vote
1 answer

How to delete all items of a TFlowLayout at runtime?

I want to clear a FlowLayout at run time, is there a function to do that ? I thought about mapping all its items and free theme, but I don't know how to access its items, any code example please ?
Clay
  • 213
  • 1
  • 2
  • 9