Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [delphi]

Delphi is a language for rapid development of native Windows, macOS, Linux, iOS, and Android applications through use of Object Pascal. The name refers to the Delphi language as well as its libraries, compiler and IDE which is used to help edit and debug Delphi projects.

0 votes
1 answer
17 views

Delphi Interface Automatic Reference Counting

Say I have an interface and a concrete type implementing that interface, like: IMyBuilderIntf = interface function Build(): String; end; //... TMyConcreteType = class(TInterfacedObject, ...
Arthur Araujo's user avatar
0 votes
0 answers
24 views

How do I Read and Write PDF Header details in DELPHI 12.2

I have a lot of PDF documents that have no tag info (Document Title, Author etc) and would like to use Delphi to update the tags, I used an imported ActivX from Adobe Acrobat when using Delphi XE but ...
Martin Green's user avatar
-7 votes
0 answers
75 views

Update: convert Delphi code to C++ in 2025 [closed]

I know this question has already been asked : old discussion on SO about 15 years ago. What would be the answer today in the presence of many LLM options like ChatGPT, Copilot etc... Can they ...
Franz's user avatar
  • 1,963
0 votes
0 answers
82 views

Delphi Jedi: HID connection

I need to connect to a device with Jedi for Delphi. But I am new to HID and serial ports. I sadly don't even know where I should start. Well I tried to look it up and I got there: https://wiki.delphi-...
Chaos's user avatar
  • 1
0 votes
0 answers
70 views

How can I navigate back through nested array of Records

I am building a database of arrays of TFileTree records, where each record can hold an array of TFileTrees. type pFileTree = ^TFileTree; tFileTree = record Parent: pFileTree; FileName: ...
John Barrat's user avatar
0 votes
0 answers
58 views

How do I draw a background image in TDBGrid?

TDBGrid doesn't have a Paint event, so I can't hook into that, and I can't find anything else to help achieve this. EDIT: This is different from this question, as TDBGrid's paint function fills up the ...
turn's user avatar
  • 51
0 votes
1 answer
93 views

RAD Server deployment issues to IIS

We face issues when deploying our RAD Server backend to the final production environment (Internet Information Server). Everything runs fine if we execute our package through EMSDevServer.exe within ...
Marc Guillot's user avatar
  • 6,365
0 votes
1 answer
116 views

How can I get a useful "W1036 Variable might not have been initialized" warning [duplicate]

var aClass: TTestClass; begin try aClass:= TTestClass.Create; // Do something finally if aClass <> nil then aClass.Free; end; end; This will raise the W1036, but there is a ...
John John's user avatar
  • 136
-1 votes
0 answers
59 views

How do I draw a PNG onto another PNG irrespective of the transparency?

Consider : Image1.Picture.LoadFromFile('pink_bars.png'); black := TPngImage.Create(); black.LoadFromFile('black.png'); (Image1.Picture.Graphic as TPngImage).Canvas.Draw(0, 0, black); (Image1....
John John's user avatar
  • 136
1 vote
1 answer
105 views

How do I terminate a thread waiting a return

I need to terminate my running thread in a way that doesn't cause an error or delay. The problem lies in the function "lMsg := lMsgQueue.Get(FQueueGetTimeout);", where it will wait for the ...
missingNO's user avatar
0 votes
0 answers
59 views

Delphi - Check windows printer preference (allow windows to manage the default printer)

I follow this post Change default printer on Windows 11 [delphi] [windows-11] [printing] and it gives a solution when Printer preferences ‘Let Windows manage my default printer‘ is off. There's a way, ...
Daniele's user avatar
  • 51
-3 votes
0 answers
68 views

How can I use the image mastering api in my Delphi project. Do I need to burn to a CD? [closed]

I have the windows vcl application. I need to integrate the image mastering api into this form. For the CD burning process? How do I integrate this.I use Delphi11 and RadStudio. I couldn't try a lot ...
Ömer Faruk CENİK's user avatar
0 votes
2 answers
83 views

How to make all possible combinations of several strings

I have a previously unknown number of words, stored for convenience within a TStringList object. var input_list: TStringList; begin input_list := TStringList.Create; input_list.Add('Mark'); ...
kwadratens's user avatar
1 vote
1 answer
73 views

Delphi: check if values in array (or values of variables) are unique at one time

I need to check if values of some variables are unique. This is a sample/example for 4 variables, but i'm looking for something universal so that it works for 3, 5 and so on variables. I can make a ...
kwadratens's user avatar
1 vote
1 answer
66 views

Conversion to Java of a Delphi algorithm for CRC checksum for file

I was given this Delphi code: unit lib_CRC; interface uses SysUtils; function CalculateCRC(Text: String): String; implementation{ CRC Code generation routines } const{: @summary CRC Code generation ...
SagittariusA's user avatar
  • 5,429

15 30 50 per page
1
2 3 4 5
3474