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
1 answer

App produces an exception on target computers

I've a simple app that uses this: uses System.SysUtils, System.Types, System.UITypes, System.Classes, Winapi.Windows, System.Variants, FMX.DialogService, TLHelp32, PlayForm, FMX.Platform, FMX.Media, FMX.Types, FMX.Controls, FMX.Forms, …
Dejan Dozet
  • 948
  • 10
  • 26
1
vote
1 answer

Copying database with TFDBatchMove: How to set conversion from TIMESTAMP to INTEGER?

My program should be able to work in offline-mode, without a connection to the remote MySQL database. For that, I want to create an option to download a specific table to local SQLite database and to reupload it back to the server when the work is…
Alexander
  • 388
  • 1
  • 12
1
vote
1 answer

Loading text from resource (.res) file gives strange characters

Based on this question I want to know how to solve the problem of strange characters appearing, even having text file saved as Unicode. function GetResourceAsPointer(ResName: PChar; ResType: PChar; out Size: LongWord): Pointer; var InfoBlock:…
user13342579
1
vote
1 answer

Creating an object (with a timer) inside a TidHTTPServer.OnCommandGet fails

Inside a TidHTTPServer.OnCommandGet I create a new object. This Object has a timer that should start immediately but doesnt. The TimerEVent never fires! When I create the object somewhere else it works... Some code …
Wolfgang Bures
  • 509
  • 4
  • 12
1
vote
1 answer

In which Unit do I find TidHeaderList?

I need to use TidHeaderList in my deviation of TidHTTP but cant find the unit it is included in. Any hints?
Wolfgang Bures
  • 509
  • 4
  • 12
1
vote
2 answers

Is TIdTCPServer.OnConnect called from the main thread?

I don't know if it's ok to access data from the main thread in the TIdTCPServer.OnConnect or OnDisconnect event. Is this method called from the main thread or other thread? I want to log the IP in a TMemo, and enable or disable some buttons.
Marus Gradinaru
  • 2,824
  • 1
  • 26
  • 55
1
vote
0 answers

Delphi REST Debugger Returns Error 429 Too Many Requests but Browser Returns JSON as Expected

What is the difference between the way a browser calls the URL and doing it via Rest Debugger or HTTP Components? I have a 3rd party Web REST API that work every time in a browser (IE it returns JSON as expected), but when I use (GET) the same URL…
JohnT
  • 31
  • 5
1
vote
1 answer

Delphi - change the menu bar color

Edit: Scroll to question bottom to see answered working code. I am trying to change the colour of the menu bar on a Form. I found this site with some advice: https://www.experts-exchange.com/questions/20150240/Color-on-the-MainMenu.html I will paste…
Andrewfreestuff
  • 161
  • 1
  • 14
1
vote
1 answer

Incompatible parameter list when converting from Delphi 7 to Delphi 10.3

I have this app that I'm trying to convert, but I have some issues with server communication. This line: procedure UDPServerUDPRead(Sender: TObject; AData: TStream; ABinding: TIdSocketHandle); that gives me this error: The UDPServerUDPRead method…
Swagraffe
  • 27
  • 5
1
vote
1 answer

Disable the Update Count check on FireDAC

When calling Post on a TFDQuery, I get this error: [FireDAC][Phys][MSSQL]-312 Exact update affected [5] rows, while [1] was requested Normally this check is very useful to warn that you have probably done something wrong, but in this case I want to…
Marc Guillot
  • 6,090
  • 1
  • 15
  • 42
1
vote
1 answer

How to serve multiple versions of resource BPL file in EMS Rad Server

I have been searching and reading the Rad Server docs. I have even emailed tech support with out much help, but I am trying to find a way to version my resources (end points) in the Embarcadero Rad Server. We are running Rad Server 10.3.1 and EMS…
KenDavis
  • 47
  • 5
1
vote
1 answer

How do I debug VCL errors?

I don't know how you do it, but when I work on a new component, in order to test it, I create it manually at runtime and assign it a parent, so that I don't have to install it every time... Now I'm done and it works perfectly when I run it this way.…
Marus Gradinaru
  • 2,824
  • 1
  • 26
  • 55
1
vote
0 answers

Locate jumping to wrong record

I have the weirdest of problems: a Dataset.Locate which SAYS he found a record and jumps to it, BUT the record doesn't fit the criteria. Here's my code: procedure TFZoekEmp.edtZoekNaamEmpChange(Sender: TObject); var lFound:boolean; begin …
Jur
  • 520
  • 2
  • 18
1
vote
1 answer

How to get a picture from an URL and put it at TImage using TNetHTTPClient or TNetHTTPRequest?

How to get a picture from an URL and put it at TImage using TNetHTTPClient or TNetHTTPRequest? I am beginner and I am using Delphi-10.3-Rio. I wrote a simple test application, but it does not work as I expect. I used TNetHTTPClient and…
andriana
  • 11
  • 2
1
vote
1 answer

How programatically disable specific item in network connection properties?

I want to know if some API/code exists to disable a specific item in the (current) network connection properties? If yes, could you show a working code example, explain the details, and point out some limitations (if they exist) of the technique…
user13342579