3,567 questions
0
votes
0
answers
40
views
How to use Pjsip library in Embarcadero C++Builder
I'm trying to use the Pjsip library in a win32 program with Embarcadero C++Builder 13.
I managed to compile the Pjsip library with Visual Studio Community 2026, thus obtaining the static *.lib ...
1
vote
0
answers
55
views
Old functions suddenly being loaded from a different Windows DLL (that doesn't exist on Windows 7)
I upgraded to C++Builder 13 not long after it came out, all patches applied, coming from 12.3 and having gone through all versions since 11.0 for this particular project.
The code did not change much, ...
0
votes
0
answers
55
views
Indy IdHTTPWebBrokerBridge linker error in Embarcadero C++Builder 12.1 Community Edition
I used the SOAP app wizard to create a shell for a simple web interface. My RAD Studio C++Builder 12.1 has lots of Indy and SOAP components in the Palette, so it seems to be installed. But I get a ...
0
votes
1
answer
82
views
Porting C++ Builder 2009 to version 13
I'm trying to take a project made with C++ Builder 2009 and build it on C++ Builder 13 (Florence). I'm getting a whole bunch of errors on statements like this:
StrPCopy(str, UTF8String(edit2->Text)....
2
votes
1
answer
93
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 ...
1
vote
2
answers
101
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::...
1
vote
1
answer
141
views
Not valid Win32 application on XP
I'm using Embarcadero C++Builder 12 Version 29.0.53982.0329 to build a 32-bit app. It runs fine on Windows 7 32-bit, and on Windows 10 and 11. But, when I try to run it on XP, I get the message:
<...
1
vote
1
answer
120
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 ...
1
vote
0
answers
73
views
C++Builder with BluetoothLE dongle using Windows 11
How can I get a PC to operate BluetoothLE using C++Builder on Windows 11 and a Bluetooth 5.3 UB500 dongle?
I have installed CMake 4.0.3. I have downloaded SimpleBLE from GitHub. In a Command Prompt, I ...
0
votes
1
answer
75
views
Why does file not exist after calling TRegistry::SaveKey() using C++Builder?
Using C++Builder 12 Athens Community Edition under Windows 10.
My S: drive is where I keep my source code. FOE is the name of the current program I'm developing to watch file associations in the ...
0
votes
1
answer
70
views
How to make a TDbLookUpComboBox equivalent using LiveBindings?
I am using RAD Studio 12.2. The data source is an SQLite table.
How to create an analogue of TDbLookUpComboBox using LiveBindings? Is it possible without code?
The articles I found do not help.
0
votes
0
answers
88
views
Resizing a form C++Builder FMX (Delphi)
My task is to implement a standard mechanism for resizing a form.
I have the main form TForm frmMain.
frmMain->Transperent = true.
On the form is placed the TPanel PanelRoot
PanelRoot->Align = ...
0
votes
1
answer
315
views
Indy10 network library - openssl 3.X and TLS1.3 support
I am currently using Indy10 library along with OpenSSL 1.0.2u to support TLS1.2 in my application. Could you please share details about how I can support TLS1.3 in my application?
Do I have to upgrade ...
7
votes
1
answer
425
views
C++ argument parsing is incorrect when the executable file path contains spaces
I am having problems with arguments in C++ console programs built under C++Builder 12 Community Edition.
If the executable is in a folder with spaces in its name, eg. "test dir", and I ...
-1
votes
1
answer
207
views
How to load an Image file of BMP, PNG, JPG
I am trying to load and resize an image. I have an OpenPictureDialog to select the file. The dialog filters are set to *.bmp|*.jpg|*.jpeg|*.png. I run the app and get an error when opening a PNG.
...
1
vote
1
answer
60
views
Is TControlList::Invalidate() thread safe?
If I call MainForm->ControlList1->Invalidate() from a TIdUDPServer::>OnUDPRead event, is it thread safe, or do I still need to use TThread::Synchronize() or TThread::Queue()?
0
votes
1
answer
103
views
C++Builder - How to save and restore key values from HKEY_LOCAL_MACHINE using TRegistry?
Using C++ Builder 11.1.5. This is for a Windows VCL 64-bit application.
I am trying to write a key from the registry (and all subkeys and values) to a backup file so it can be restored at a later time....
0
votes
0
answers
80
views
Entering data into a text field on a website
I'm looking for a way to enter a one-time code into the https://login.microsoftonline.com/common/oauth2/deviceauth page in the Kod field.
So far, I've only managed to stop the cursor from blinking, ...
0
votes
1
answer
78
views
How to get a response from SendCmd in Indy?
I use TIdImap4->SendCmd() to send XOAUTH2 token to access my mailbox. I send command:
IdIMAP41->SendCmd("AUTHENTICATE XOAUTH2 " + encodedAuth, OPENARRAY(String, ("AUTHENTICATE ...
0
votes
1
answer
106
views
_wcsdup memory is not being freed in C++Builder
I am having trouble freeing the memory allocated by _wcsdup() to create a TObject pointer for a TComboBox. I thought this memory was freed automatically when the TComboBox or the Parent TForm was ...
0
votes
1
answer
61
views
Who owns the JSONData Object?
I'm trying to get JSON working in C++Builder. I have been looking at code for Delphi on making a JSON file, and they all seem to create the Doc and Data parts of the JSON file/string, but only free ...
0
votes
2
answers
415
views
C++Builder 12.2 error: "cannot use C++ 'try' in the same function as SEH '__try'"
After a computer crash and reinstallation of C++Builder 12.2 on a new computer, some code doesn't compile any more. For example:
void __fastcall TSynCustomExporter::CopyToClipboardFormat(UINT AFormat) ...
1
vote
1
answer
57
views
How can I set SelStart and SelLength when setting focus to a TComboBox
When I move focus with the Tab key to a VCL TComboBox control containing text in the Text field, the complete text is always displayed as selected.
How can this be changed so that the selection can be ...
0
votes
1
answer
37
views
C++Builder FMX TPrintDialog->Copies does not change after executing dialog at runtime
When I try to enter the number of copies in the PrintDialog window, the PrintDialog->Copies property does not change. That is, I am trying to write the value of the PrintDialog->Copies property ...
0
votes
1
answer
92
views
Rad Studio C++ Menu items are greyed out
I am new to RAD STUDIO C++ Builder and I am given a task to write a program by my current company. I have created some Menu Items and sub items to write Actions in case of a click event.
But the ...