1,710 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
55
views
C++ Builder CE 12. My program behaves differently when launched from the IDE or standalone [closed]
I'm developping a Win32 application that uses serial communications.
The COM port access is performed with Windows file API. My program is doing what it is supposed to do when executed from the Rad ...
0
votes
1
answer
164
views
What is the purpose of the "HORSE_VCL" compilation directive?
I have started using the horse web framework for building an API in Delphi. The VCL sample mentions the following as a comment in the Main.Form.pas file:
// Need to set "HORSE_VCL" ...
-5
votes
0
answers
113
views
I need help displaying a video using a TMediaplayer and a Panel. Is it posible to do that? [closed]
I want to create a code for my grade 11 IT project that displays different videos, making use of a case statement. I asked ChatGPT and it said I needed to make use of a media player and panel, but I ...
0
votes
1
answer
94
views
{dcc64 Fatal Error} F1026 File not found: 'cxLibraryRS29.dcp' (VCL + DevExpress)
Heyllo.
I just upgraded my project to Delphi 13 and latest DevExpress, but now I'm getting this new error in one of my frames:
[dcc64 Fatal Error] frameAdmin.pas(8): F1026 File not found: '...
4
votes
1
answer
189
views
Can there be a non-visual (without dfm) base form between TForm and any other form of the app?
In my Delphi 2009 VCL application, I have several base forms, like:
TListBaseForm = class(TForm)
TEditableListBaseFrom = class(TForm)
TEditBaseForm = class(TForm)
Each of these base forms is using ...
2
votes
1
answer
81
views
How to prevent dithering when rendering a 24 bpp bitmap with GDI+?
In C++Builder, I have a small VCL application that creates a 100 x 100 pixel, 24 bpp Gdiplus::Bitmap and fills it with the default form background color (clBtnFace / COLOR_BTNFACE). A TPaintBox fills ...
2
votes
1
answer
157
views
How to disable "blow up" behavior when opening a dialog window on Windows 11?
I have a VCL app written in Delphi 12.3. It displays a dialog over a form. The dialog may be displayed as the result of a toolbar speedbutton click, or from a menu selection; if called from the ...
1
vote
2
answers
95
views
How to read a TBitmap property from an old DFM stream into a TPicture property in C++Builder 1?
In C++Builder 1 (ancient, I know), I have a class TGlyph with a Graphics::TBitmap property:
class TGlyph : public TPersistent
{
typedef TPersistent inherited;
private:
Graphics::...
3
votes
3
answers
294
views
Should I use FileExists(Path) or TFile.Exists(Path) in Delphi?
I'm always working on the latest Delphi and so I have TFile.Exists(Path) available to me, but currently at my company, all of our code uses the older FileExists(Path) method.
What are the differences ...
1
vote
1
answer
117
views
Problem with TVirtualTreeView EditLink assignment in C++Builder
I have a problem with assigning an EditLink to TVirtualStringTree in Embarcadero C++Builder. When I try to assign a new editor class, only the default editor is working.
Only the constructor is called ...
0
votes
1
answer
117
views
Changing OpenGL (wgl) context to a different window handle
I am creating an application using OpenGL (4.2). By default, the rendering is done on a panel in a window, it works without issues, but the panel can be docked/undocked, which causes the underlying ...
0
votes
0
answers
37
views
Error when trying to compile a basic Delphi project using tcxGrid
When compiling a project in Delphi 12 Community using tcxGrid from DevExpress 12 Trial, the following error occurs:
[dcc32 Fatal Error] Unit4.pas(16): E2225 Never-build package 'cxLibraryRS29' must be ...
2
votes
1
answer
190
views
How to make a custom VCL control detect when another VCL control has moved?
What I am trying to do is write a custom TLabel that is coupled to another control, for example a TDBEdit, and the label will always position itself relative to the control's position, and when this ...
0
votes
1
answer
181
views
In Delphi TPrintDialog, can the printer name and paper size be programmatically set?
Using Delphi VCL.
When the user starts a print job, I display TPrintDialog.
Ideally, the print dialog would show the name of the printer, paper size and orientation that the user last used (which I ...
3
votes
1
answer
145
views
Is there really a difference between Image->Picture->Assign(Bitmap) and Image->Picture->Bitmap = Bitmap?
I am struggling to understand if there is really a difference between both statements:
Image->Picture->Bitmap = bitmap; // bitmap is a TBitmap object
Image->Picture->Assign(bitmap);
The ...