6,053 questions with no answers
0
votes
0
answers
30
views
How to correctly call an iOS completionHandler block from Delphi without crashing?
I’m trying to implement this iOS delegate method in Delphi:
- (void)URLSession:(NSURLSession *)session
task:(NSURLSessionTask *)task willBeginDelayedRequest:(NSURLRequest *)request ...
-1
votes
0
answers
58
views
Android logcat spam: TransactionCallbackInvoker writeReleaseFence failed. error 32 (Broken pipe) every frame in SurfaceView
I get this log continuously (every render frame):
E/TransactionCallbackInvoker: [SurfaceView(...)(BLAST)]
writeReleaseFence failed. error 32 (Broken pipe)
It comes from the system (SurfaceFlinger), ...
2
votes
0
answers
11k
views
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 ...
0
votes
0
answers
122
views
TADOTable Open Fails
I'm using SQL Server 2017 and ADO components with Delphi, creating an FMX application for Windows.
In the DataModule, I've added a TADOConnection and some TADOTable and TADOQuery components. In the ...
1
vote
0
answers
131
views
How to detect Samsung DeX desktop mode in a FireMonkey Android app?
I'm developing a cross-platform Delphi app using the FireMonkey (FMX) framework, and I need to optimize its layout and behavior when running on Android devices that support desktop-like environments, ...
0
votes
0
answers
41
views
Error when trying to compile a basic Delphi project using tcxGrid
When compiling a project in Delphi 12 Community using tcxGrid from DevExpress 12 Trial, the following error occurs:
[dcc32 Fatal Error] Unit4.pas(16): E2225 Never-build package 'cxLibraryRS29' must be ...
1
vote
0
answers
87
views
How to attach a Java component to a delphi Layout
I'm working with Delphi 13, building an Android-exclusive app using FireMonkey.
With a new feature we want to add, we are looking into creating a custom WebView, as the version Delphi exposes in ...
0
votes
0
answers
67
views
VTune cannot launch application in Hotspots mode
When running VTune in Performance analysis mode, it goes without issue. When selecting Hotspots however, the launch fails with the error code 0xc0000142, which apparently is a dll loading issue.
This ...
1
vote
0
answers
10k
views
What is "Delphi xxx" in TMS FNC Chart installer?
For the first time in my TMS installer, I'm seeing a "Delphi xxx" option that I have not seen before. What is this?
See below:
The installation also seems to fail on "Delphi xxx".
...
0
votes
0
answers
130
views
Delphi TWebBrowser Android: display cached website in offline mode
I have a project that requires me to convert a web app into an Android application.
My solution was that instead of recreating the app from scratch, I proposed making a Delphi FireMonkey Android ...
3
votes
0
answers
228
views
Passing strings between Excel and Delphi 12
I currently have a Delphi DLL which takes in 2 parameters as PChar and another parameter that outputs as a PChar to Excel. In Excel these are all string, but whenever I run the macro in Excel, my ...
2
votes
0
answers
98
views
E1030 Invalid compiler directive: 'private' in Delphi FMX
I have the next code that works and compiled. The app runs with no errors, but the IDE shows a red stripe and hover popup:
E1030 Invalid compiler directive: 'private'
on code:
type
TForm1 = class(...
0
votes
0
answers
1k
views
Delphi SOAP request by HTTPRIO ContentType application/soap+xml
I'm developing a SOAP client request for connecting to an https server.
Server require content type application/soap+xml, bud HTTPRIO can send text/html.
I found const ContentType12UTF8 = '...
2
votes
0
answers
116
views
Delphi Open Tools API: how to get "Debug" build configuration name?
I am enumerating project's build configurations. I want to get the "Debug" build configuration. I do realize it is not something hardcoded and can be removed by user, or another ...
5
votes
0
answers
5k
views
Calling the OnDrawColumnCell procedure Delphi DBGrid
I have DBGrid which stores client information and the expiry dates of memberships. I am using the following code on the OnDrawColumnCell event of the DBGrid to color rows which include memberships ...
5
votes
0
answers
87
views
Removing read-only attribute from sandboxed folders in Delphi iOS apps
My Delphi 12.3 iOS app deploys a folder in its documents called, "Chess Openings Wizard 2016" and iTunes for Windows allows users to copy that folder to and from their Windows machines.
(I ...
2
votes
0
answers
111
views
Intermittent icons with black background - 2 different versions on comctl32.dll loaded
Delphi 10.4.2 32-bit app(s) I work on will intermittently load icons with black backgrounds (no transparency). It can happen several times a day, but is not reliably reproducible. Usually, I have to ...
0
votes
0
answers
96
views
How to print a long product receipt using a thermal printer with quick report using Delphi Tokyo 10.2?
I have a problem when printing a long product receipt using a thermal printer. I use Delphi Tokyo 10.2 and Quick Report version 6. Despite activating all features, including continuous, and taking ...
0
votes
0
answers
136
views
Delphi 7 IDE Debug Slow Start
I have used Delphi 7 Enterprise for many years now.
Suddenly, running the integrated debugger takes 10 seconds to launch.
My D7 ran as a v6.5 VM under ESXi 6.7.
For many years it is a speedy performer....
1
vote
0
answers
123
views
How to export TGS frames to PNG using Skia4Delphi?
I'm trying to use Skia4Delphi in a VCL Delphi project to convert a .tgs (Telegram animated sticker) file into a sequence of PNG frames.
I know that TSkAnimatedImage can directly load .tgs files, and I'...
1
vote
0
answers
163
views
How do I change exe's ico?
I did change in Form's properties, it change the icon in the taskbar but not the execuable file. I went to Project -> Options -> Application -> Icons did create a icon using art generator, as ...
1
vote
0
answers
282
views
Problems following installation of Delphi 12 Community Edition
Having recently downloaded and installed Embarcadero Delphi 12 Community Edition, after successfully using Delphi 11.3 CE and Delphi 10.4 CE, I am encountering numerous problems. These include:
Help ...
0
votes
0
answers
180
views
Delphi TZipMaster no longer encrypting zip files on Windows 11
I have an old Delphi XE project that creates password-protected zip files using the TZipMaster component. It always worked before.
Now, after moving to Windows 11 and installing the latest version of ...
1
vote
0
answers
878
views
In FMX how to get the current URL of a TWebBrowser control?
I use Delphi 10.3 Community edition. My FireMonkey Android/iOS application has a tab with TWebBrowser control, so users can load and browse the sites from the bookmarked list. When a user clicks on ...
0
votes
0
answers
97
views
Trying to drag borderless form above the top of the monitor but it keeps jumping to the top of the monitor
I'm trying to drag a form above the top of my monitor using my OnMouseDown event handler, but the form (BorderStyle = bsNone, Align = alNone) keeps jumping back to the top of the monitor (Top = 0).
...