Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

I’m trying to implement this iOS delegate method in Delphi: - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task willBeginDelayedRequest:(NSURLRequest *)request ...
zeus's user avatar
  • 13.3k
Best practices
0 votes
3 replies
125 views

The title says it, but here is an example: try // ... raise EFileNotFoundException.Create('File not found!'); except on E: EFileNotFoundException do begin E.Message := Format('"%s":...
T0mmiTheGreat's user avatar
Advice
1 vote
4 replies
116 views

I have a TImage bitmap on a form, and a TPaintBox with the same dimensions. The user draws some polylines on the paintbox canvas. Using paintbox means they can "erase" a line if needed and ...
ChrisH's user avatar
  • 139
3 votes
1 answer
154 views

I am implementing a message passing mechanism in a multi-threaded Delphi 2010 VCL application. My background threads need to send various DTO records to the main UI thread. I am using a generic ...
Sashko1121's user avatar
0 votes
2 answers
161 views

I am trying to use the Shopify GraphQL Admin API from Delphi. Came up with the following code: procedure TestShopify; var Client: TRESTClient; Request: TRESTRequest; Response: TRESTResponse; ...
Benjamin Keresztes's user avatar
0 votes
2 answers
229 views

I want to be able to write a function such as below, but can't get the typeinfo or type reference for the unconstrained generic type of TMyBase<T>. type TBase<T> = class end; ...
Richard Shuck's user avatar
2 votes
1 answer
102 views

I have been tasked to convert one of our VCL DevExpress forms over to FMX. I am now busy replacing all of the TcxTextEdit components with TEdit components. The problem is that in some places, the code ...
user31362432's user avatar
0 votes
2 answers
172 views

I have been trying to sort a collection of objects. While I have seen many promising solutions, my compiler simply won’t accept them (error message in procedure GenReorderSpeciesList). I am using ...
Bennie Coetzer's user avatar
Advice
0 votes
3 replies
152 views

I am faced with a long overdue migration from Delphi XE2 to Delphi 13. This involves upgrading to IBObjects version 5. Sadly, IBObjects seems to be a dead product and is no longer available. Has ...
sboydlns's user avatar
2 votes
2 answers
184 views

When doing some numerical calculations in XSL templates I stumbled over the fact that a value of 3.600.000.000 which represents the number of microseconds in an hour can be represented in MSXML v6 ...
blerontin's user avatar
  • 3,197
2 votes
1 answer
154 views

When I process a keyword like this: In the HTML template I have: <p>@msg</p> and in code I have: if SameText(AObjectName, 'msg') then AValue := 'Must be Logged In<br />This was ...
Doug Rudd's user avatar
  • 146
0 votes
0 answers
125 views

If I understand correctly, checking a digital signature of an exe file is part of the Windows program startup routine. I implemented the check during the loading of a DLL myself as follows: function ...
complete_stranger's user avatar
0 votes
1 answer
95 views

I'm using Delphi 12. One of my applications uses the unit IdUri. When I try to compile the application (CTRL+F9), I'm getting this error: [dcc32 Fatal Error] myunit.pas(9): F2063 Could not compile ...
delphirules's user avatar
  • 7,750
1 vote
0 answers
112 views

My Delphi 13 Android project has Range Checking turned OFF for the Release configurations. The project runs in Debug mode as expected. Running the project in Release mode has the TNetHTTPClient.Get() ...
Mike at Bookup's user avatar
4 votes
1 answer
158 views

I upgraded from Delphi 10.2 to Delphi 12.3 In Delphi 10.2 I discovered sync prototypes feature activated by using keyboard shortcut alt+ctrl+shift+p. This is such a handy function. Change the header ...
Will's user avatar
  • 55
1 vote
0 answers
131 views

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, ...
user31362432's user avatar
0 votes
1 answer
103 views

I have two Delphi versions installed on my computer. One for commercial use which is Delphi 13, and one for personal projects which is Delphi 12 Community Edition. I also have a license for DevExpress....
user31362432's user avatar
3 votes
1 answer
110 views

IMAGE_FILE_HEADER.TimeDateStamp is described as: The low 32 bits of the time stamp of the image. This represents the date and time the image was created by the linker. The value is represented in the ...
AmigoJack's user avatar
  • 6,423
1 vote
1 answer
125 views

I'm was trying to solve a BPL issue that I'm having, and I stumbled upon an option in the settings called "Link with runtime packages" which is a Boolean. It can either be true or false. ...
user31362432's user avatar
4 votes
1 answer
113 views

I want to add icons to an TImagelist, but without adding the same Icon again. This is how I retrieve the Icon: Icon := TIcon.Create; SHGetFileInfo(PChar(filename), 0, FileInfo, SizeOf(FileInfo), ...
natraj's user avatar
  • 65
0 votes
0 answers
90 views

I have a TVirtualStringTree (version 8.1.1, Delphi 10.4) with seven columns. TreeOptions includes toAutoSpanColumns so that a text is spanned over the entire remaining space of a row. I want to render ...
Mario Werner's user avatar
  • 1,881
1 vote
2 answers
218 views

As from about Sep 21 2025, a Windows program I developed in Delphi that downloads online OpenStreetMap tiles using Indy's TIdHTTP.Get() method has stopped working, sometimes issuing error messages ...
user11935527's user avatar
1 vote
1 answer
198 views

In Delphi I have a pointer to a record type that contains managed types (like string and TArray): type POverlappedContext = ^TOverlappedContext; TOverlappedContext = record ...
zeus's user avatar
  • 13.3k
0 votes
0 answers
101 views

The application I'm writing has a main form where all the database fields and DBGrid that contains the entire SQLite dataset (ExpItemQuery) reside. I have designed a database search functionality into ...
Skypilot65's user avatar
0 votes
1 answer
171 views

I need to encrypt strings using a public key contained in an X509 certificate using Delphi 10.3 and OpenSSL. The certificate is already loaded in memory using the BIO routines: var ptrX509: pX509; ...
alvaroc's user avatar
  • 481

1
2 3 4 5
1052