52,561 questions
0
votes
1
answer
55
views
TWebBrowser.Silent = TRUE still shows "bad certificate" error
I have a TWebBrowser with the .Silent property set to True, but it's still popping up the message
Revocation information for the security certificate for this site is not available. Do you want to ...
2
votes
0
answers
118
views
Delphi + PAServer: How to correctly export iOS app with Notification Service Extension (appex) – missing provisioningProfiles in exportOptions.plist
I’m deploying an iOS app built with Delphi (FMX) using PAServer. The app includes a Notification Service Extension (.appex).
The build succeeds, but the export step fails with:
error: exportArchive &...
Best practices
0
votes
5
replies
188
views
Generic TForm in hiearchy
I'm building a fmx app in Delphi 12.2.
I would like to create a view hierarchy that includes a 3rd party generic TForm descendent. This 3rd party TForm does not have an fmx file. It does not appear ...
Best practices
1
vote
6
replies
245
views
How to load a Delphi TService driver early?
I am wondering what the best approach is to writing a Delphi service (using the TService class) to load my basic driver that simply writes a message to a file on disk. No network access is needed, or ...
Advice
0
votes
5
replies
145
views
Delphi, hooking TBitmap.Create & stack trace
Posting this because I could not find an answer and code produced by two AIs I queried, would not compile. And when I did get it to compile it crashed at some point.
I needed to hook TBitmap.Create ...
-2
votes
0
answers
191
views
Access violation assigning value to TImage.Top
I am in the process of developing a card game in Delphi. I am getting an access violation from the last line of the following code. The value being assigned at the time of the error into .Top is 500.
...
0
votes
1
answer
344
views
THTTPRio Authorization Bearer
I'm using Delphi Tokio 10.2.3 and using a THTTPRIO component to consume a SOAP webservice.
I need/must use Bearer token authentication on the request, because the service was changed from basic ...
3
votes
1
answer
152
views
How to implement a scoped context in Spring4D?
I want to be able to register a scoped singleton which would work like TSingletonPerThreadLifetimeManager does, but is freed when it goes out of scope.
I want to have the ability to treat certain ...
0
votes
1
answer
241
views
Bad DFM streaming of a TForm displayed in CEF4Delphi TChromium.OnDownloadUpdated event
I have a project using CEF4Delphi that uses a custom Open/Save dialog when downloading a file.
This is the event when I create the custom form
procedure TMainForm.ChromiumDownloadUpdated(Sender: ...
Advice
0
votes
8
replies
246
views
Migrating Delphi application to .NET: Framework 4.8 vs .NET 6+ for COM/Hydra interop
We're planning a phased migration of a large Delphi application to C#/.NET. The migration strategy involves:
Running Delphi and C# side-by-side during transition (12-24 months)
Using RemObjects ...
0
votes
1
answer
200
views
Highlight cells in TCalendar
Is there any way to highlight various non-contiguous cells in Delphi's TCalendar component at the same time? And not only the actual day?
I need to let the user mark different days in different cells, ...
Best practices
1
vote
11
replies
339
views
How to convert Delphi *.pas "format ANSI" files to *.pas "format UTF" files? (We are starting to use Cursor IDE on Delphi projects)
We have developed Delphi projects in Lithuanian (Baltic) local Windows machines and our Delphi *.pas files have been in "format ANSI" and they, of course, contained Lithuanian constants as ...
3
votes
2
answers
267
views
How to change the background color of a TButton component with code in Delphi FMX?
I've been tasked to dynamically style buttons to be different colors with Delphi code in FMX
I want a red TButton component. My first thought was to use a TRectangle instead of a TButton, but then my ...
0
votes
0
answers
80
views
delphi Data.DBXEncryption unit exception integer overflow
Delphi 10.2.3
Windows 10 with all current updates
I am suddenly getting this exception in Unit Data.DBXEncryption function TPC1Cypher.Code(const I: Integer): Integer;
Overflow occurs in the line below ...
Tooling
0
votes
3
replies
195
views
How to use Excel4Delphi with Delphi XE7?
We are working on an application in Delphi XE7, and we need to read and write data to Excel. We have been using HotXLS to export the data, but cannot get around to have it read the Excel data.
We have ...