275 questions
0 votes
1 answer
166 views
How to create a batch file to build all projects in Delphi with a log result
Using Azure DevOps with Git, I was trying to create a command line to compile and build all the projects (.dpr) we have in the company. With this, we can ensure that everything is working in all PRs ...
0 votes
0 answers
46 views
How to pass TDataSet as TADOStoredProc parameter
Attention: Following question: How to pass DataSet: TDataSet as procedure parameter is about completely different topic. I would like to have a set of dynamic attributes for an entity in Microsoft SQL ...
1 vote
1 answer
122 views
Delphi 2009 can not compare '' with 333 while Delphi 6 could: "Could not convert variant of type (UnicodeString) into type (Double)" in Delphi 2009
I am trying to migrate a Delphi 6 application with TdxDBGrid to Delphi 2009, and for the time being I would like to keep TdxDBGrid, because it has features that TcxGrid does not (we're moving to ...
2 votes
1 answer
93 views
Delphi TClientDataSet (in dfm) is always active and has binary value for the Data property - how to get and edit it in design time?
I am working with the legacy code and it it has lot of TClientDataSet instances on the TDataModul or TForm children and the common feature is that many of them have: Active=True already assigned in ...
-4 votes
1 answer
120 views
Error Message "TFileListBox not found" opening an old delphi 6 program
We got this program for migration purposes. Still first we have to get it running / build a version using the old environment to check if this works. How can we get this component? Which library is it ...
0 votes
1 answer
99 views
How can I determine used libraries in a Delhpi 6 application (source available)
I have a fairly large D6 project I need to hand over to other people. Similar to this question except here, all source is available However, I have made several experiments and tests over the years, ...
-1 votes
1 answer
169 views
How can I call upon C# DLL methods from within a Delphi 6 application using RGiesecke's UnmanagedExports NuGet package?
I have a legacy Delphi6 app. It was making use of iManage's COM interface DLL's. (Imported into D6 as _TLB unit files you'd include in the uses statements) BUT... iManage has End-of-Life'd their COM ...
0 votes
1 answer
157 views
Setting focus on TWinControl after an Exception?
I have the following procedure in Delphi 6: procedure TfrmUserCRUD.ShowErrorWithFocus(Message: string; FocusedField: TWinControl); begin try raise Exception.Create(Message); except on E : ...
0 votes
0 answers
61 views
Unicode POST parameters with Indy 10 and Delphi 6
I am using Indy 10 with Delphi 6 and until now managed to pass contents as UTF-8. Unfortunately, params are parsed as ANSI, replacing, for example, ö with o when not the central european code page is ...
0 votes
1 answer
49 views
Delphi Porting -> D6 to D2007 - DevExpress - TdxDBGridLayoutList
I'm newby on DevExpress and I need an help to understand these component. Thank you in advance :) I'm migrating an old Delphi software written in Delphi 6 to Delphi 2007 and than hope to XE. I've ...
0 votes
1 answer
160 views
How to convert the 32 bit webserver to 64 bit response
Already I had a problem with sending data using the TIdHTTP component in Delphi 11, and I got the solution from Getting spaces after upgrading from Indy 9 on Delphi 6 to Indy 10 on Delphi 11. // sUrl -...
1 vote
1 answer
661 views
Handling DLL causing Access Violation 0x06efff08 when trying to use function
I'm getting an access violation when I try to link to a function within a DLL file. DLL was made in Delphi 6 and we are upgrading to Delphi 11 (wild jump I know). So the code once upon a time worked ...
2 votes
2 answers
211 views
Why does the compiler warn the return value of function 'frog' might be undefined?
This unit generates a warning that the value of frog might be undefined even though result is explicity set: unit homePage; interface function frog(const ts, fs: string; ci: integer; const ss: ...
0 votes
1 answer
224 views
How can I do PING threads, reading OnReply event in Delphi 6?
I have a problem with Delphi 6 and Indy's TIdIcmpClient component. I get this message when compiling the following code, in the marked line (51): FPing.OnReply := OnPingReply; [Error] fire.pas(51): ...
0 votes
2 answers
70 views
Checkbox Created with CreateWindow Disappears on Resize
I'm adding a checkbox to the BrowseForFolder dialog using the following calls... ControlCreateStyles := WS_CHILD or {WS_CLIPSIBLINGS or} WS_VISIBLE or WS_TABSTOP or BS_CHECKBOX; ChkBoxHdl := ...