Currently I’m working on simple librabry project on ebmbarcadero. I’m using C++ builder 10.3 Community edition as IDE, and Firebird and Flame Robin to create databases. So far, I need only use simple queries, that were connected to single database. Therefore, I used TFDConnection, TFDPhysFbDriverLink to connect to .fdb file. Then, TFDQuery to create SQL ..
Category : c++builder
I am receiving an error indicating that their is no matching function for a call to MessageDlg() in C++ Builder. My header file does include <Vcl.Dialogs.hpp> which is where the function is declared. The function is being called from within a TForm class public function. Below is the offending code: void MBInvalidPosition() { MessageDlg("Invalid Position ..
I’ve been having problems with RAD Studio XE components triggering a cascade of events – like when component A in-code modification altered content of component B which triggered change in component C etc. Long story short – made some blocking mechanism via RAII pattern. Multiple of them, depending on the type of event I needed ..
I am trying to build the aws-iot-device-sdk-cpp-v2 with CMake and embarcadero’s C++ Builder (bcc64.exe Version 10.2) on a Windows 10 machine. First I copied the Windows-Embarcadero.cmake from the RAD folder to the CMake folder, like described in this documentation. Then I followed the steps from the aws-iot-device-sdk-cpp-v2 installing instructions. But changed the first CMake line ..
I am currently porting a 32 bit c++ program (with C++ Builder) to 64 bit Code. The application is linking a 3rd party dll and the 32-bit compiler project contains the associated lib file, as usual. In 64 bit mode, these ".lib" files need to be transformed into archives with extension ".a". I know there ..
I’m trying to achieve the following: to call methods or to modify properties of a TTimer timer which was created in the main thread, from another threads. Code looks like the following: //————————————————————————— __fastcall TForm1::TForm1(TComponent* Owner) : TForm(Owner) { Timer1->Interval = 5000; ht=(HANDLE)_beginthread(MyThread,4096,NULL); // My Thread } //————————————————————————— void __fastcall TForm1::Timer1Timer(TObject *Sender) { static int ..
Has anyone got Google Tests (unit testing framework) working with Embarcadero C++ clang compiler? if so, using clang32 or clang64 bit? [or, ideally, both?] I can’t find any web documentation that tells me if this is currently possible (Embarcadero 10.4.1) or not. (If there is a helpful URL then I would be grateful if anyone ..
I am new to Embarcadero C++ Builder and am using 10.3 community version. Does anyone know how to "go to definition" for my Windows console program? I’ve tried the Pre-compiled Header Wizard but it stucked at showing this error message: Invalid token "EOF" on line 28, column 0. Valid tokens: "File " Please correct errors ..
I try to find word "пак" in text like this: 180121-5пак. Thera are cyrillic signes. I used to Pos() function but there is no effect. The function return value 0 Zal //<– UnicodeString; if ( Zal.Pos( "пак" ) != 0 ) { smth } i tried to use UnicodeString("пак"), AnsiString("пак") and UTF8String("пак") but without results ..
I coded, coded then noticed that I was writing in another project. Source: Windows Que..
Recent Comments