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

Pass from OnRead event to separated Thread

I'm working in a project where want receive continuous frames of a live webcam and i found this code example that in my tests worked fine. Now want know how can make this receiving inside a TThread (Socket NonBlocking) similar to approach of Server…
-1
votes
1 answer

How to use Alt Codes?

I need to build a string which contains Alt Codes, specifically Alt-16 (Arrow symbol). I have a line of text (aka a string). I append a Carriage return, then want an ARROW symbol and the new line of text. This line will then be passed to PPT. If…
user1009073
  • 2,908
  • 4
  • 28
  • 70
-1
votes
1 answer

When the application is closed, the Android Local service was stopped

I'm using Delphi 10.3 for developing android application and I have implemented Service to retrieve the data from Server. The thread was running properly but it closes when the app is closed. I have used the following code to run the…
-1
votes
1 answer

Can one create an MS Access table in Delphi (e.g., FireDAC) from the field defs of an existing table without using SQL?

I wanted to create a new mdb file containing tables based on the structure of previously existing tables. I knew that I can use newTable.FieldDefs.Add() to recreate the fields one by one in a loop. But since there is already an oldTable fully…
-1
votes
1 answer

RandomStr Missing Operator or Semicolon error

function Randomstring(strLen: Integer): string; var ID: string; begin ID := 'QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm1234567890'; Result := ''; Repeat Result := Result + ID[Random(Length(ID)) + 1]; until (Length(Result) =…
HydroXor
  • 45
  • 7
-1
votes
1 answer

Compiler-definitions for Delphi 10.3 Rio?

Can anyone translate these compiler-definitions for Delphi 10.3 Rio? Thank you in advance. {$IFDEF VER320} //Embarcadero Delphi 10.2 Tokyo (25 - Godzilla) - 2017 {$DEFINE D4PLUS} {$DEFINE D5PLUS} {$DEFINE D6PLUS} {$DEFINE D7PLUS} {$DEFINE…
user1580348
  • 4,654
  • 2
  • 27
  • 73
-2
votes
1 answer

ShapefileII.pas needs help Delphi: Shapelib.dll

has anyone had problems with the use of the pascal version of the file 'ShapefileII.pas'? The OSGEO maintain a DLL to manage shapefile and DBF associated file (https://github.com/OSGeo/shapelib). I'm trying to create a shp file and the associated…
-2
votes
2 answers

E2034 Too many actual parameters when the correct number is provided

I have a procedure that I'm using to display some UI elements, but this error occurs. From what I could gather, this error could occur when a procedure with the same name exists, but I was not able to identify it. What could I do to fix the…
Swagraffe
  • 27
  • 5
-2
votes
1 answer

Errors using FMXLinux on CentOS_7 1908

[DCC Error] E2597 C:\Program Files (x86)\Embarcadero\Studio\20.0\bin\ld-linux.exe: error: cannot find -lrtlhelper_PIC C:\Program Files (x86)\Embarcadero\Studio\20.0\bin\ld-linux.exe: error: cannot find -lrtlhelper C:\Program Files…
-2
votes
3 answers

ListView repeating items from second TListItem.Caption

I have two StringList that are loaded (from a file) with users and users + password respectivally. I'm comparing these lists to determine what user (of first list) already have a password (in second list) and then insert on ListView who have and…
BrowJr
  • 415
  • 5
  • 20
-2
votes
1 answer

How to use libcairo-2.dll?

I want to crop pdfs and save them as pngs using my delphi program. I am currently using the cmd tool pdftocairo to do this. I want to use the libcairo-2.dll from poppler in my program to use the crop function but there is no documentions on how to…
-2
votes
1 answer

Delphi TTimer providing unusual results in Win 10

I have an app that allows my users to turn on and off a timer to track their time spent on a certain task. The timer runs a clock used to show the elapsed time to the user, much like a stopwatch. The code below has worked as I thought it should for…
-3
votes
1 answer

Transform a string to an object pointer?

I have a string 'MyButton'. How can I get the OBJECT MyButton from the STRING 'MyButton', so that I could write: MyButton.Caption := 'My new Caption'; This would change the caption of the TButton MyButton object instance.
user1580348
  • 4,654
  • 2
  • 27
  • 73
-3
votes
1 answer

Sending an object instance to a DLL for processing?

I have created a DLL in Delphi 10.3.3 and compiled it (as 32-bit): library TestDLL; uses Vcl.ExtCtrls, Vcl.Graphics, System.SysUtils, System.Classes; {$R *.res} procedure ColorPanel(APanel: TPanel); begin APanel.Color :=…
user1580348
  • 4,654
  • 2
  • 27
  • 73
-3
votes
1 answer

How remove trailing blackslash from JSON string?

I need addPair() to JSON object where the value is a trailing blackslash /. The result is beeing equals to this: "\/". Then, how remove the left trailing blackslash inserted by JSON? Edition: Tested StringReplace() and not works. uses System.JSON,…
BrowJr
  • 415
  • 5
  • 20
1 2 3
32
33