913 questions
0 votes
1 answer
170 views
Printing and previewing simple drawing in Delphi
I am writing a set of routines to print my visual component (TStringGrid descendant) with an ability to see its print preview. The preview is done using TPaintBox. I want that drawing utilized my ...
0 votes
0 answers
65 views
C# Entity Framework COM Object accessed from Delphi Error [duplicate]
After installing Windows 11 Update 24H2, I have not been able to work with a COM Library developed with C# and accessed from Delphi. The failure occurs when I do a Where filter using a numeric ...
0 votes
2 answers
106 views
Saving HTML to local file from TWebBrowser denys access to html file
In Delphi XE7, I'm saving content of a TWebBrowser to a local HTML file: function WB_SaveAs_HTML(WB:TWebBrowser; const FileName : string):boolean; var PersistStream: IPersistStreamInit; Stream: ...
0 votes
0 answers
165 views
Why is TFDTable.FieldDefs.Update so slow?
I want to know the field definitions (field names, types, and sizes) for a group of PostgreSQL (it seems the database type does not really matter, it could be Oracle or SQL Server) tables using ...
1 vote
0 answers
81 views
Delphi service startup weirdness
Regular service written in Delphi XE7 (windows 10 22H2). In OnStart Event I create some objects, I read inifile etc. StartType = stAuto. Windows service set up: automatically. When my service state is:...
1 vote
0 answers
133 views
Changing top level menu items font
I need to increase the font size of my menus (TMainMenu, TPopupMenu) and I cannot figure out how to do it correctly. I thought I don't need to draw the menu items completely, so I just assigned ...
2 votes
2 answers
125 views
How to add Authorization header to SOAP request with THTTPRIO in Delphi XE7?
I use THTTPRIO in Delphi XE7 to get data from a SOAP server. I try the request with SoapUI without a problem. POST /ClientServices/ClientServPort.svc HTTP/1.1 Accept-Encoding: gzip,deflate Content-...
1 vote
1 answer
211 views
Delphi BDE with connection to Oracle access violation
I'm searching for a bug in a big legacy product. The end user only reports a program crash (no error messages). When I start the program with attached debugger I get this: Im Projekt XXXXX.exe ist ...
0 votes
1 answer
1k views
I'm getting "Socket Error # 10054 Connection reset by peer" in Indy using TIdHTTP to GET an HTTPS url
I have what seems to be a simple task - to make an HTTPS request, but I encountered an error: Socket Error #10054 Connection reset by peer Moreover, this error does not occur every time; out of 30 ...
2 votes
1 answer
105 views
Why the EN_PROTECT notification message is not sent to the RichEdit?
Using a runtime created TRichEdit descendant, I need to be notified when the EN_PROTECTED notification message is sent to the RichEdit. As far as I know, it should be sent to the RichEdit wrapping any ...
1 vote
2 answers
281 views
How do I implement SSL in Delphi to connect to a REDCap API server?
I am trying to use XE7 to connect to an in-house REDCap server. REDCap has a detailed description of the API at https://education.arcus.chop.edu/redcap-api/ and a test server at https://bbmc.ouhsc.edu/...
0 votes
0 answers
425 views
How to connect Delphi mqtt client securely to an mqtt broker?
I want to use Delphi mqtt ssl client to connect to a secure mqtt broker for which I got a certificate (.crt). I have got an mqtt client component (pjde/delphi-mqtt on github) but don't know how to ...
0 votes
0 answers
125 views
Upload files with Delphi XE7 TRESTRequest without AddFile
Using RAD Studio XE7, I need to post files using the TRESTRequest component. Unfortunately, I did not find a AddFile() method in this version of the component. So, I have to find a solution that ...
1 vote
1 answer
475 views
Can Delphi Indy Ftp idFTP.GET Preserve the File's Created and Modified Date?
I would like to ask if Delphi Indy ftp idFTP.GET can preserve the file's created and modified date? If not, how can I accomplish this? Thanks!
2 votes
0 answers
172 views
Inserting a row to Dataset has unsual delay at Delphi Alexandria 11.1 when load a big lookup Fields
Recently i have completed the migration of my company's project, from Delphi XE7 to Alexandria 11.1. After a couple of releases, some customers with bigger databases complained for delays at opening ...