Questions tagged [delphi-10.3-rio]
Delphi 10.3 Rio is a specific version of Delphi released in November 2018.
delphi-10.3-rio
556
questions
-2
votes
1
answer
111
views
Delphi RTTI Property on memory [closed]
After iterating my list of properties in the class using RTTI, I save it in a variable FMap: TDictionary<TRttiProperty, TMappedField>, and I also save a variable FPropertyPK: TRttiProperty - I ...
1
vote
0
answers
136
views
Delphi drag/drop ultra 4K touch screen
I've created a simple drag/drop application in Delphi (10.3.3), with 9 TListBox components on it, and a few items which can be dragged/dropped between the listboxes.
On an Ultra 4K touch monitor, the ...
0
votes
0
answers
80
views
how to convert a python array to a delphi array and access this array in Keras 4 Delphi
In Keras4Delphi I succesfully stored the output of a neural network into a variable. Now I want to simply read it from a Delphi array (in Delphi 10.3 Rio), not in string format but in a Double array ...
0
votes
0
answers
64
views
Delphi Parallel.For creating objects [duplicate]
I'm trying to create a list of frames using parallelism to improve speed (with Parallel.For()).
The problem is that my code just don't run after this statement:
lFrameItem := TFrameItemEntrega.Create(...
0
votes
0
answers
30
views
Sqlite Firedac raises random access violations
The application has threads and multiple threads might make a connection the SQLite db. Every connection is closed after the command executed on sqlite db. However there is a chance of race condition ...
2
votes
0
answers
82
views
Delphi 11.3 compiler directives for "Development" and "Application store" modes
Please tell me the Delphi 11.3 compiler directives for development modes and the application store,
if they exist.
A switch is needed for different logic.
Development is carried out in the FireMonkey ...
0
votes
0
answers
132
views
Delphi 10.3 how messages routing in wincontrols work
I have this type of problem:
I need to be able to know when mouse cursor is inside my custom wincontrol that have other custom controls on it. Let me explain in a more graphical way:
component tree:
...
1
vote
1
answer
339
views
How to fix "Cannot assign a TSkGraphic to a TBitmap"
I use Skia4Delphi in my VCL application. I have an Image1 (TImage) component. It supports loading webp image files thanks to Skia4Delphi. However I get "Cannot assign a TSkGraphic to a TBitmap&...
0
votes
3
answers
516
views
PNG to TBitmap (preserving transparency)
I use Delphi 10.3.3 VCL.
I want to load a PNG image, convert to TBitmap (in order to make some modifications), then save it as PNG.
I use this code, but it loses transparency. Transparent background ...
0
votes
1
answer
287
views
Delphi TNetEncoding.Base64 works but data are cutted
I have this code, in which I want to convert a file to Base64 format using TNetEncoding.Base64. It works, but it cuts my data to a few lines. My question is why? Delphi's String can contains approx ...
0
votes
0
answers
65
views
Limiting requests from the same source on DataSnap WebBroker Application
I'm new to threads. So, I created an DataSnap WebBroker Application to handle REST requests from my Flutter App. The problem is, how do I block the requests after many repeated tries?
Already made ...
1
vote
0
answers
30
views
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 ...
1
vote
0
answers
234
views
How get Windows version (on format: 2004, 21H1, 22H2 ...)? [duplicate]
How get Windows version (on format: 2004, 21H1, 22H2 ...)?
See:
0
votes
0
answers
108
views
I cannot replace ResourceStrings when my app uses GnuGetText
I'm replacing some Delphi default ResourceStrings to localize those error messages. It works fine on a new blank application, this code raises an exception correctly translated:
implementation
uses ...
0
votes
1
answer
301
views
CreateProcess: cmd.exe does not exit when child process is finished
I have this following code that execute Windows cmd.exe passing powershell.exe as argument.
The problem is that cmd.exe is not terminated after powershell.exe finalization.
How do I fix that?
function ...