Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >
Filter by
Sorted by
Tagged with
3 votes
0 answers
181 views

How to implement Microsoft Entra ID authentication and group checks in a Delphi XE3 VCL application? [closed]

I am tasked with updating a legacy Windows VCL application, built in Delphi XE3, to change its authentication method. Currently, it uses direct LDAP queries against an on-premise Active Directory to ...
PDM's user avatar
  • 633
0 votes
1 answer
184 views

Inherit the class code, but NOT the layout and design of a Delphi form?

I have a form TMyForm. Now I want to make a new form TNewForm which inherits TMyForm's code (.pas), but not the layout and design (.dfm). Is that possible? Since the new form has a completely ...
alancc's user avatar
  • 859
1 vote
2 answers
86 views

Where can I find the constant definition of LANG_HINDI?

I am writing a Delphi program which will use Hindi. I use Soluling which produce .RC files with constant LANG_HINDI. But it is not recognized as a valid constant. I try to search all source files ...
alancc's user avatar
  • 859
0 votes
0 answers
325 views

Create a dark menu using the createpopupmenu function on windows 10

I want to use createpopupmenu to create a menu in a Delphi program and make it change the color according to the system Personalize->color settings, but it failed: I tried using the HAll := ...
坦克兵's user avatar
2 votes
1 answer
157 views

How to preprocess MACRO and use value in the constant definition?

In Delphi, I want to define the constants as follows: const LANG_BUL = MAKELANGID(LANG_BULGARIAN, SUBLANG_DEFAULT); But will get [dcc32 Error] Utils.pas(15): E2026 Constant expression expected How ...
alancc's user avatar
  • 859
1 vote
1 answer
727 views

CreateProcess with lower privileges than the caller

We have an application that is run with admin privileges, where (apart from other operations that actually require admin privileges) the user can send emails. Our email system works like this: admin-...
TheItalianDev's user avatar
1 vote
1 answer
643 views

Delivery Receipt using TIdMessage

Is there a way to ask for delivery receipt (Return-Receipt-To) using TIdMessage? I have an application that sends emails via SMTP, I'm using TIdMessage but it seems like only read receipt is working (...
TheItalianDev's user avatar
0 votes
1 answer
1k views

Get full command line from process

I have the process ID (PID), how can I get its full command line (path and arguments)?
TheItalianDev's user avatar
0 votes
1 answer
355 views

Indy 10 error when try to install a new version in Delphi XE3

I'm trying to install a new version of Indy 10 in Delphi XE3. I'm using the Fullc_XE3.bat to compile the component, it works and finish OK, however, when I try to install dclIndyCore170.bpl I get the ...
Erik Ferney Cubillos Garcia's user avatar
7 votes
1 answer
684 views

Delphi record assignment bug

I've encountered some strange behaviour of delphi XE3 compiler (i compile for x86 architecture). Imagine i have class with one field - custom record with several field of simple types: TPage = class ...
loltrol's user avatar
  • 103
0 votes
1 answer
148 views

Prevent project tree from showing delphi rtl units

I'm using Delphi XE3, I have many project which contain a rtl unit in DPK file (necessary to set {$SetPEFlags IMAGE_FILE_NET_RUN_FROM_SWAP}), so their DPK looks like this: requires { ... }; ...
TheItalianDev's user avatar
1 vote
0 answers
234 views

Delphi (XE3) - JSON, ISuperObject - copy of the object array

I'm trying to copy from one JSON to second object type array (named 'items'). However, when copying, the second JSON always creates only an empty 'items' field with no items (lenght 0) . Please advise ...
L. Pospisil's user avatar
2 votes
1 answer
560 views

What is the difference between the -i and -u parameters to the dcc command-line compilers?

What exactly is the -i option of the Delphi dcc command-line compilers (dcc32.exe, dcc64.exe, dcclinux64.exe and others)? As opposed to -u? Help just states this briefly (and Embarcadero documentation ...
Matthias B's user avatar
  • 1,249
0 votes
0 answers
20 views

XE3 TImageList showing same the image on the list on the form

I have added 10 BMP files into a TImageList. In a TListView, I have set the TImageList to its LargeImages property. Now the Form is displaying the "first added bmp" 10 times.
Peter Hansen's user avatar
1 vote
1 answer
2k views

Delphi - How to add multiple JPG images to a TCanvas and print them

As a Delphi programmer I'm a bit of a hack - learned bits and pieces along the way, mostly self taught. I'm working on a program for fun that's a database for an out of print card game. Has info of ...
SJWales's user avatar
  • 15
-3 votes
1 answer
182 views

Delphi - SQL Server query takes a long time to run

Delhi XE3 Enterprise, SQL Server 2008 When I run the following the query it takes 4 seconds to run in the Delphi program. When I run it from SQL Server management studio it only takes .5 seconds to ...
Donald Adams's user avatar
0 votes
1 answer
132 views

Do I need to free auto-created form in Delphi?

I set a form(not the main form) as auto-created in the project. It seems that I do not need to free it manually when the main form is destroyed. If I do so, then I will get "Invalid Pointer" ...
alancc's user avatar
  • 859
0 votes
0 answers
3k views

Access violation at address 04FD6CC2 in module 'dbxora.dll'. Read of address 00000004

I have created DELPHI database application which will use DBX TSQLConnection component to connect to Oracle database (19c version). I'm getting access violation error , When i call oracle listagg ...
Karthik Thirumoorthi's user avatar
0 votes
0 answers
971 views

Using Indy SMTP and HTTPS across DLL

If I send a basic email via TidSMTP (ignore the try/finally blocks, this is just an example): var SMTP : TidSMTP; MSG : TidMessage; LHandler : TIdSSLIOHandlerSocketOpenSSL; begin SMTP := ...
FLDelphi's user avatar
  • 648
1 vote
1 answer
5k views

Error creating SSL context (140A90F1:lib(20):func(169):reason(241))

A single user at one of our locations is receiving "Error creating SSL context" when emailing at random points throughout the day. Once the error happens, they need to restart the program. The routine ...
FLDelphi's user avatar
  • 648
2 votes
2 answers
795 views

How to Prevent TStrings.SaveToStream from writing the BOM?

I am using Delphi XE3. In my code, I will need to create a file stream, and then write some my own data, as well as the contents of several TStringList into it. The file is in UTF-16LE format. ...
alancc's user avatar
  • 859
0 votes
1 answer
2k views

Numbering with TRichEdit in Delphi

I am trying to implement numbering in TRichEdit component, Delphi. Ideally I want to get the same behavior as in these 3rd party component: As you can see Numbering button works similar way as Bullet ...
pyfyc's user avatar
  • 157
1 vote
0 answers
635 views

How do I get a published property for a form to appear in the object inspector?

Using Delphi XE3, I'm trying to add a published property to a form in such a way that when I open the form in the IDE, the property appears in the object inspector. I've tried following the steps in ...
Kieran's user avatar
  • 747
1 vote
1 answer
658 views

DrawTextEx not working with DT_RIGHT and Arial font

I’m having an issue with DrawTextEx. When using Align = DT_RIGHT and font “Arial”, the text exceeds the rectangle. This is the code I used to reproduce the issue: procedure TForm2.FormShow(Sender: ...
TheItalianDev's user avatar
4 votes
2 answers
304 views

Why doesn't TADOQuery AfterOpen event occur when master record is changed?

Consider we have a standard master-detail relationship with two TADOQuery. When navigation over master dataset takes place, an AfterOpen event doesn't rise for the detail dataset. This event is ...
Miamy's user avatar
  • 2,297
5 votes
2 answers
2k views

Class helper doesn't override ancestor's virtual methods

I always understood class helpers as extension classes, or partial classes. They act like an expand for the code of the original base class. If I copied the interface part of code and add it to the ...
ZORRO_BLANCO's user avatar
0 votes
1 answer
379 views

How to Simulate TListView(vsIcon mode) with Virtual TreeView

I am using Delphi XE3. Now I try to simulate TListView(vsIcon mode) with Virtual TreeView. Is that possible? Basically this is: (1) A tree with only root nodes. That is easy to implement. Just use ...
alancc's user avatar
  • 859
0 votes
1 answer
423 views

How to Unindent a block of code in Delphi XE3?

I am using Delphi XE3. Is there a way to unindent a block of codes? I check the edit menu and cannot find such an option.
alancc's user avatar
  • 859
1 vote
1 answer
1k views

Implement Windows Thumbnail via TListView

I am using Delphi XE3 and want to implement Windows Thumbnail style to show a list of images via TListView control. What I need is like below: The images are displayed as thumbnail style, there is a ...
alancc's user avatar
  • 859
0 votes
1 answer
679 views

Index character instead of byte in the Delphi string

I am reading the document on index to Delphi string, as below: http://docwiki.embarcadero.com/RADStudio/Tokyo/en/String_Types_(Delphi) One statement said: You can index a string variable just as ...
alancc's user avatar
  • 859
2 votes
1 answer
3k views

TObjectList appear in two units

I am using Delphi XE3. When searching helps for TObjectList, I find it appears in two units: http://docwiki.embarcadero.com/Libraries/Tokyo/en/System.Contnrs.TObjectList and http://docwiki....
alancc's user avatar
  • 859
2 votes
1 answer
375 views

Cannot invoke MessageDlg

I am using Delphi XE3 to develop a FireMonkey app. When calling MessageDlg as below: MessageDlg(‘Hello, world’, mtInformation, [mtOK], 0); I always get an error saying “Undeclared identifier ...
alancc's user avatar
  • 859
1 vote
0 answers
88 views

Why code hint does not appear in Delphi XE3?

I am using Delphi XE3 to develop a FireMonkey application. In the past, there is a code hint function, so that when I complete the name of a form, like this: MainForm. When I type the ., the IDE pops ...
alancc's user avatar
  • 859
1 vote
0 answers
144 views

Find a Container Control in Delphi XE3 FireMonkey

I am looking for a container control in Delphi XE3 FireMonkey, which can: Hold multiple controls inside of it so that I can move them together by moving the container control itself. The container ...
alancc's user avatar
  • 859
-1 votes
1 answer
1k views

Delphi - TIdHTTP freezes when POSTing data

I have an issue developing an HTTP client using Indy's TIdHTTP component. I'm using Indy 10.5.9.0. When I call the TIdHTTP.DoRequest() method, the component freezes, and raises an exception: ...
pedro.olimpio's user avatar
0 votes
1 answer
5k views

Delphi - Multithreading: Why I can't start thread again after thread.terminate()?

I've coding a multithread application that send and receive TCP packages. I'm with the problem that when I call twice event confirmBoxRecognized(peerIP: string) of the code bellow. I'm getting the ...
pedro.olimpio's user avatar
0 votes
0 answers
93 views

Changing form elements Enabled property based on other form elements

I would like to know correct way of changing Enabled property of dfm component based on other components state. For example, I have edit3 that should be enabled only if value of some edit1 is in set ...
Dmitry Sheyko's user avatar
0 votes
1 answer
388 views

open project in delphi as administrator

In Delphi XE3 -> project Options -> Application, set Custom Manifest with C: \ Program Files \ MyProject \ Win7UAC.manifest, but the project does not open as an administrator if the system is ...
alice's user avatar
  • 67
0 votes
1 answer
758 views

frxBarCode.dcu not found - Delphi XE3 with FastReport 4

I've migrated a Delphi 7 project to Delphi XE3. Delphi XE3 has FastReport 4, but the frxBarCode.dcu file was not found. I noticed that this file only exists in the C: \ Program Files (x86) \ ...
alice's user avatar
  • 67
0 votes
0 answers
140 views

Configuration Language (Locale ID) in version info

In Delphi XE3, the configuration is not holding the language option chosen in project > options > Version Info. I tried to save the .optset file, but it did not work.
alice's user avatar
  • 67
1 vote
0 answers
221 views

Is there any way to omit some lines from Delphi-code-coverage measurement?

I am covering my project with unit tests, and there are some lines which obviously will never be reached. E.g.: constructor TSomeClass.Create; begin inherited Create; raise ...
Serhii Kheilyk's user avatar
0 votes
0 answers
192 views

IDE Delphi XE3 Errors in structure

I'm migrating a project from Delphi 7 to Delphi XE3. It works correctly, however in the structure panel, it shows a list of errors: TStringField does not contain a member named AsString ...
alice's user avatar
  • 67
6 votes
3 answers
5k views

Efficiently populate combobox in Delphi

Need to add many items (more than 10k) in TComboBox (I know that TComboBox is not supposed to hold many items but its not up to me to change this) without adding duplicates. So I need to search the ...
siwmas's user avatar
  • 389
0 votes
1 answer
286 views

Layout FastReport

I am creating a report in Fastreport 5. How do I put all records of the detail band within a rectangle without showing the horizontal lines between the items? In QuickReport it was simple, just ...
alice's user avatar
  • 67
0 votes
1 answer
984 views

FastReport - Component TfrxPDFExport properties

How can I set pdf orientation whether landscape or portrait using TfrxPDFExport component in FastReport 5 with Delphi XE3?
alice's user avatar
  • 67
3 votes
1 answer
1k views

JEDI JclCompression extraction issues with latest 7z.dll

I have used JclCompression with the 32-bit version of 7z.dll 9.20 for quite a while and have recently tried to upgrade to a more recent version (16.04). With the update in 7z.dll versions, I am ...
spurgeon's user avatar
  • 1,112
0 votes
2 answers
663 views

Make Timage move down and left 3 pixels when Mouse enters and return to original position when mouse leaves

I have a form with about 168 Timage objects containing Icons that are user selectable. I wish to make each Icon move Down and Right by 3 pixels when the mouse is over the Timage object. I want it to ...
WobblyBob's user avatar
  • 154
1 vote
1 answer
1k views

Delphi - TEdit / TMaskEdit not displaying Asterisk (*) Passwordchar

I'm using Delphi XE3 for VCL application development. I'm having TMaskEdit field in my form and i have set its PasswordChar property as Asterisk ( * ) . But when i execute the application it's ...
Karthik Thirumoorthi's user avatar
5 votes
1 answer
2k views

Identify Component under mouse cursor does not work with TImage Control

I am using the following Procedure to identify the controls under my mouse in Delphi XE3. All works well for vcl.contols. However when the mouse is over a TImage, no control name is returned. ...
WobblyBob's user avatar
  • 154
1 vote
0 answers
786 views

QuickReport for Delphi XE 3

I'm migrating a project made in delphi 7 with quickreport 5.05 to delphi xe3. I will need to update the quickreport to a newer version or can I continue with the same version?
alice's user avatar
  • 67

1
2 3 4 5
14