Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
44 views

I'm working with this image: I have working code for drawing rectangles on it, which will be filled with the average color of said rectangles: This is the code for drawing the rectangles: ...
stevenvh's user avatar
  • 3,361
4 votes
0 answers
135 views

Suppose I have a procedure like this: procedure DoSomething; asm .PARAMS 11 // This will auto-generate "push rbp + sub rsp,$60 + mov rbp,rsp" // ... end; Suppose I need to return from ...
0 votes
1 answer
73 views

I have a 64-bit Delphi application using Redemption 5.27 (64-bit) to retrieve Outlook Free/Busy information. Environment: Office 365 (64-bit Outlook) Redemption 5.27 (64-bit) Outlook running with a ...
jqbd's user avatar
  • 99
1 vote
1 answer
107 views

I know in Delphi, anonymous methods is implemented as interfaces. After some debugging, I found that at the beginning of the function Test, the anonymous interface object is constructored, and during ...
qgi's user avatar
  • 187
1 vote
0 answers
43 views

I'm using Delphi 12.2 on Win11 for a Windows app. I have a generated PFX to use for signing. In Project Options > Deployment > Provisioning for all 64-bit Windows platforms, I set the build ...
SteveS's user avatar
  • 447
0 votes
2 answers
62 views

I'm using Delphi 12. I have a RC file that I put every images of my application inside, and compile it with BRCC32. Now I'm trying to insert also the main icon file on the RC file, like so : MAINICON ...
delphirules's user avatar
  • 7,838
Tooling
1 vote
4 replies
32 views

How can I launch a macOS application I wrote in Delphi Embarcadero 13, with the drag-and-drop document icon (associated via Info.plist with myAPP)? Asking to Claude and ChatGPT seems to be a bit ...
NicoBlu's user avatar
  • 47
Best practices
0 votes
5 replies
56 views

I need to check the daily report from Epson FP-81II RT receipt printer BEFORE close the work and send the data to the appropriate office. It is possible using keyboard command but the printer "re-...
Daniele's user avatar
  • 119
0 votes
1 answer
98 views

I have a set of 64-bit DLLs, but the standard DLL names for the 64-bit DLL names clash with the 32-bit DLL names. We should probably not mix 32-bit and 64-bit and have their .exes and .dlls in ...
Warren  P's user avatar
  • 69.9k
1 vote
2 answers
149 views

It seems not. I am using Canvas.Polyline([P1, P2]); (even though it is always a straight line with only two points - is there a better alternative?). Styles like psDash, psDot, etc render correctly ...
Mawg's user avatar
  • 40.6k
0 votes
0 answers
80 views

I am trying to recreate this chart in TMS FNC Charts: This is what I have so far: procedure TfrmGraphTemperature.InitializeChart; begin Chart.BeginUpdate; try Chart.Series.Clear; var ...
user31362432's user avatar
0 votes
0 answers
67 views

I am using Delphi 7 with Crystal Reports XI (11) via the TCrpe (VCL) component. When I print a report, Crystal shows the following Print dialog. It only shows: System Printer (Microsoft Print to PDF) ...
 delphiX14's user avatar
0 votes
0 answers
134 views

I have found that iOS application developed using Delphi FireMonkey, running on iOS 26 version, have approximately 1 pixel black lines at the top and bottom. Application screenshot: Is there anything ...
user22100372's user avatar
0 votes
0 answers
101 views

I am using Delphi to load a document from a file using WebView2 (TEdgeBrowser). I am trying to add blank space to the bottom of the document. The document looks like this: <?xml version="1.0" ...
sboydlns's user avatar
3 votes
1 answer
143 views

I try to draw a triangle in the corner of my TCalenderView items under certain conditions (I've simplified the code here to just highlight the odd dates). The DrawTriangle function that I added was ...
Marc Guillot's user avatar
  • 6,607
0 votes
1 answer
154 views

I am using this to build my application in RELEASE mode: dcc64 '-$D-' '-$L-' '-$Y-' '-O+' '-$Q-' '-$R-' 'MyApp.dpr' How do I build in DEBUG mode? I need DEBUG mode because I have compiler directives ...
user31362432's user avatar
0 votes
1 answer
66 views

I found this Topic Receive Access violation..., which is a similar issue I am facing here, but mine has the correct cast. What I am trying to accomplish is select a font from a listbox, and have the ...
Wayne Barron's user avatar
2 votes
1 answer
133 views

I'm using Delphi 12.3 w/ Indy on a machine with multiple network adapters. I have industrial devices connected to the various adapters. The devices look for a UDP query packet on port 11864 with a ...
SteveS's user avatar
  • 447
4 votes
1 answer
134 views

In my Delphi 11.3 (on Windows 11) program I have a TWebBrowser component which shows an HTML page from resources. The resources also contain an image. How can I refer to the image resource in the src ...
stevenvh's user avatar
  • 3,361
2 votes
1 answer
154 views

I'm translating a Windows CryptoAPI C struct to Delphi, and I'm struggling with the correct Delphi record syntax when a field comes after an anonymous union. C struct: typedef struct ...
zeus's user avatar
  • 13.4k
-1 votes
1 answer
110 views

I’m getting a runtime crash in a Lazarus (Free Pascal) application when clicking a TImage that saves/loads an image BLOB from a database. Project Album raised exception class 'External: SIGFPE'. At ...
AlbLivX's user avatar
1 vote
1 answer
143 views

My Delphi 13 32-bit FMX project using Indy and TaurusTLS is throwing this exception: Project ProjectMikeTaurus.exe raised exception class ETaurusTLSLoadingCertError with message Could not load ...
Mike at Bookup's user avatar
1 vote
2 answers
265 views

When installing RAD Studio 13 it says I first need to install the Windows SDK: The Windows SDK is quite large though. Do I need to install everything from the Windows SDK or is there something ...
user31362432's user avatar
3 votes
2 answers
122 views

Right now, I don't have access to the Delphi IDE because all of the licenses are currently checked out at my company. I am working with only Visual Studio Code in the next couple of days. Without the ...
user31362432's user avatar
3 votes
0 answers
145 views

I'm using Delphi 13 and the TIdHTTPWebBrokerBridge to create a 32-bit FMX REST server called PocketGMServer.exe. It's hosted on an Amazon LightSail Windows 2022 instance. Everything works as expected ...
Mike at Bookup's user avatar
0 votes
4 answers
185 views

I know that I can press F9 to Compile/Run my project. Is there a shortcut key to Clean my project, or a way to set a shortcut key for this? I hate having to right click and select to Clean manually ...
user31362432's user avatar
2 votes
0 answers
146 views

I am trying to get started with the SynEdit library for Delphi, but documentation seems to be sparse. Anyway, the following code does show my code highlighted in the exported HTML file (also in the ...
stevenvh's user avatar
  • 3,361
2 votes
3 answers
163 views

When I download styles from GetIt Package Manager, they come in .vsf format. How do I actually use them in Delphi FMX? Delphi FMX TStyleBook requires .style or .fsf, NOT .vsf. I am trying the "...
user31362432's user avatar
1 vote
3 answers
237 views

I am trying to draw an accurate USA flag (to be used for language selection). I am not good at drawing stuff with TPaintBox or anything else. This is what I've been able to do so far with code to draw ...
user31362432's user avatar
Best practices
0 votes
5 replies
157 views

Could you please advise on how to create a universal solution for working with databases using Delphi Community Edition? I’d appreciate guidance on best practices, recommended components (such as ...
Alex S's user avatar
  • 1
2 votes
0 answers
107 views

I am trying to build an API in Delphi 12 CE using THorse. I have setup middleware to handle the authorization, but it does not stop there. My project file (simplyfied): begin dmMain := TdmMain....
GuidoG's user avatar
  • 12.3k
3 votes
1 answer
118 views

I made a component derived from TCustomControl, for which I published the Font property. It shows up in the Object Inspector alright, but now I want to hide the Color sub property, while keeping the ...
stevenvh's user avatar
  • 3,361
2 votes
1 answer
131 views

I have an ownerdraw Tlistbox where I want the selected item (Multiselect is set to False) in white against a blue background, and the other items black on white, like this: This is my code: procedure ...
stevenvh's user avatar
  • 3,361
Advice
1 vote
3 replies
152 views

We're using an attribute, which looks somewhat like this (simplified): unit SomeProject.ThreadLibrary.Attributes; interface type ThreadAffinityAttribute = class (TCustomAttribute) ...
Valerian K.'s user avatar
1 vote
0 answers
84 views

I'm a current registered user of Active Query Builder (with sources), but it seems that noone has answered questions in the forum for 2 or 3 years. Does anyone know anything about it, and how to ...
Cicero's user avatar
  • 21
1 vote
1 answer
289 views

I need to know from within my app whether the person has a pending Windows Update available or not, and then prompt him to update his Windows if it's not updated yet. Is there a way to check if an ...
Shaun Roselt's user avatar
  • 4,563
0 votes
2 answers
195 views

I want to know if the computer I'm using has UEFI or Legacy BIOS. Is it somehow possible to detect this from Delphi code? I found ExGetFirmwareEnvironmentVariable which seem interesting, but I'm not ...
Shaun Roselt's user avatar
  • 4,563
-1 votes
1 answer
167 views

I found this function that is supposed to get the names of all the actively plugged-in monitors on the computer: function GetMonitorNames: TArray<string>; begin Result := []; var ...
Shaun Roselt's user avatar
  • 4,563
0 votes
1 answer
119 views

I'm trying to get the count for the amount of monitors on my computer using VCL and Delphi. For my purposes, it only needs to work on Windows 11 and Delphi 13. I don't care about older versions. Is ...
Shaun Roselt's user avatar
  • 4,563
2 votes
1 answer
190 views

I want to switch my application from one monitor to another. The code below work many times perfectly as expected but sometimes it only moved the titlebar of my application to the new screen. How to ...
Franz's user avatar
  • 2,095
0 votes
0 answers
279 views

I am developing Delphi 2009+ projects and my Delphi *.pas files has UTF8 encodings (when initially created and when edited and saved up to the point when non-English comments or string constants are ...
TomR's user avatar
  • 3,374
1 vote
2 answers
167 views

I'm using Delphi 13. I have a TTabControl with 4 tabs on my form. TTabControl has the events OnChanging (before the tab change is actually made), and OnChange (after the change). Apart from the Sender ...
stevenvh's user avatar
  • 3,361
2 votes
2 answers
176 views

I want to make a general design change in all the forms of my VCL application: I want to space all controls with more air between them. The ultimate goal is to make it look more like a (React) web app,...
Matthias B's user avatar
  • 1,309
2 votes
0 answers
114 views

I am currently evaluating TMS Web Core 2.9, and I am seriously considering purchasing it. Im usi templates and one of the most important features for me is the ability to: create my own custom ...
Leonardo Fossati Silveira's user avatar
6 votes
0 answers
128 views

With Delphi 12 I use IFMXSystemAppearanceService to detect if my device is in dark mode. It works on Android and MacOS but not on iOS. I always get light value. function TThemeNotifier.GetSystemMode:...
Haifisch's user avatar
  • 972
2 votes
1 answer
152 views

Every time I open the "deployment / provisioning" tab in the build configuration, it always reverts to a build type of "windows 32-bit - Normal", no matter how many times I change ...
cedd's user avatar
  • 1,883
Best practices
1 vote
5 replies
177 views

Defining a string and converting it to bytes at runtime is one thing, but I would want to have a constant array of bytes defined at design time and then pupulate it with a mix of bytes and strings. ...
Pontus Berg's user avatar
1 vote
1 answer
158 views

I am using Delphi 12.1 and Indy 10 to implement a client/server application. The client (running on Windows) requests data and then waits until the server responds. The server (FreeRTOS + sockets) ...
Zeit's user avatar
  • 57
0 votes
1 answer
243 views

I want to let my users be able to open the "Wine Control Panel" from within the app using a button click event. This is what I'm talking about: Is this possible from a Windows app running ...
Shaun Roselt's user avatar
  • 4,563
0 votes
0 answers
206 views

Using Delphi 10.3, FireDAC, 64 bit application, MySQL. Error: Could not convert variant of type (Null) into type (OleStr) Really simple query as a test: FDQuery1.Close; FDQuery1.Sql.Clear; FDQuery1....
AndyD's user avatar
  • 9

1
2 3 4 5
1052