3,103 questions
-4 votes
1 answer
121 views
How to bring to front MDI Child form created under a mdiform(main) [closed]
I have a project that have a main form as mdichild with a menu. Each item of that menu create a mdichild form. In that main form i have components, like panel, stringgrid etc The problem is: when that ...
0 votes
1 answer
152 views
Media Foundation COM classes IMFAttributes & IMFActivate - How to use them in a Delphi program?
Goal: Try to get Camera enumeration and image capture to work with a Delphi program. This means the need to use COM classes from the 2 DLLs: mf.dll and mfplat.dll, since Microsoft implemented Media ...
-4 votes
2 answers
201 views
How to set event to a Panel created runtime
In designtime I use a second panel inside of another panel to be as a header. What I want is when user press mouse button inside the second panel both are moved and for that I use this in OnMouseDown ...
0 votes
0 answers
100 views
Get a dropbox with the default delphi 7 components that branches in a listview with properties of the selected component?
I want to create a component creator program, and so i want to have a combobox with default delphi 7 components, and that it branches into the properties that belong to the selected component in the ...
0 votes
0 answers
92 views
Delphi 10.4 Initiated VBA code - not able to debug - fails with Out of memory
I have recently upgraded my application from Delphi 7 to Delphi 10.4. My application launches VBA 6.5, which kind of is hosted within Delphi (i.e. it vanishes along with the main application). I am ...
1 vote
0 answers
109 views
Weak Cryptographic Algorithm Warning from Bloomberg
We are getting weak Cryptographic Algorithm from Bloomberg eventhough the Ciphers are updated on the server. We are connecting to SFTP through Delphi 7 code. procedure TSFTP.Connect(Host,Port,UserName,...
0 votes
0 answers
30 views
Installed Delphi 7 Archi to new computer. Where to put 'reg 103.txt'?
I have a couple of old programs to keep alive so I reinstalled Delphi 7 Architect on my new Windows 11 Pro computer. Delphi says its unregistered, and I've found a copy of the old 'reg 103.txt' ...
0 votes
1 answer
56 views
ZEOSLIB, Delphi error: "close all lob streams before closing the resultset"
I am getting this error when exiting my application. I am using delphi 7 with ZEOSLIB 8, PostgreSQL database ver 16. The Delphi statement I use for loading blobs from database into bitbutton blobs is ...
0 votes
1 answer
203 views
Counting the number of files in a subdirectory within a directory with conditions
I have a directory, it's the main directory (let's call it programs). In the main directory, I have many subdirectories (let's call them program1, program2, and so on). In every subdirectory, I have ...
0 votes
0 answers
65 views
Delphi 6/7 DBGrid OnCellClick Column Index issue
I have a DB Grid attached to a IB Query Data Source which works 100% My issue is I'm trying to get the clicked cells column index, but whatever I do I always get column[0] I have tried the following :-...
0 votes
1 answer
163 views
Zebra EPL Print Command - Windows/Delphi/batch
I'm trying to send a print command to Zebra using EPL: For Windows I use the following command: Type test.txt > "\\desktop-AB123\ZDesigner ZD230-203dpi ZPL" test.txt N R30,10 D10 A210,0,...
1 vote
0 answers
156 views
How NOT to compile images stored inside TImage?
I want to see pictures inside TImage at design-time on the form, but not to compile them into the exe file, because it increases the exe file significantly. I load these pictures at runtime anyway. Of ...
1 vote
1 answer
92 views
How do I set Edit1.SelStart when MouseDown is pressed
I have an Edit that when the user right clicks on the text I need to set the edit.selstart position. The edit.mousedown does not seem to set it but edit.click does. So if a user left clicked on the ...
0 votes
0 answers
179 views
Problem with threads in an MDI application: application waits when thread is executing
Over the past 15 years, I have been writing and maintaining an MDI application written in Delphi 7 that accesses a database. The program runs fine and I have no problems (normally) in adding or ...
1 vote
2 answers
125 views
Error on some PCs in sending String parameter from Delphi 10.3 to DLL created by Delphi 7.0
I have a DLL file created in Delphi 7.0 like this: Function TransInvoices(JSONText : PWideChar) : PChar; stdcall; var dm : TdmData; Begin dm := TdmData.create(Nil); Try Result := dm.Trans(...