Search the Community
Showing results for tags 'embarcadero'.
Found 5 results
-
Hello, I'm using Embarcadero C++Builder 11 Community Edition to write a simple program that connects to a selected Bluetooth LE device. After discovering desired services, I try to read the characteristics, but the program hangs when reading the service->Characteristics property. Here is my code snippet: TGUID VSP_GUID = StringToGUID("{569a1101-b87f-490c-92cb-11ba5ea5167c}"); void __fastcall TForm1::BluetoothLEServicesDiscovered(TObject * const Sender, TBluetoothGattServiceList * const AServiceList) { for(int i=0;i<AServiceList->Count;i++) { if(AServiceList->Items[i]->UUID == VSP_GUID) { TBluetoothGattService * service = AServiceList->Items[i]; if(service->Characteristics != NULL) //freezes here { } } } } The problem appears on Windows 11. On Windows 10, everything worked fine. I have tried this code on C++ Builder 12 Trial Version, but problem still exists. What should I do and where is the problem?
-
- builder c++
- embarcadero
-
(and 1 more)
Tagged with:
-
.dfm .pas file icons disappeared after installing Delphi 11 and uninstalling Delphi 10.4 does anyone know how to solve?
- 2 replies
-
- delphi
- embarcadero
-
(and 1 more)
Tagged with:
-
I am back from Borland C++ Builder 5, skipped 10 years, and now on Embarcadero C++ Builder 11 PRO. I my have annoying questions with all good intentions of better tools. To the point. Attempting to access PostgreSQL 13 installed on local Windows 10 development box, using FireDAC components with 64 bit VCL Windows desktop project. I am getting error message stating the I need 32 bit version of libpq.dll. I got semi smart and supplied path to 32 bit libpq.dll from older postgres version 10, and all started to work at design time. Unfortunately compiled version trow error that it need 64 bit version of libpq.dll. Is there smart workaround this circle of errors embarcadero put mi in? Hope it is just my 10 years of not using excellent productivity tool. Yes I attempted to access Postgresql 14.1 as well, same issue. That I got running 64 bit application. Is there separate path option for libpq.dll 32bit for design time, and 64 bit for rune time?
-
Overbyte ICS MimeDecode issue with Embarcadero XE10.3 c++
GE1956 posted a topic in ICS - Internet Component Suite
I have a problem using the new v8 version of OverbyteICS with MimeDecode in my C++ project with Embarcadero XE10.3. In my old studio I was able to work with v5 using the TMimeDecode component after including MimeDec.hpp in the unit header file. In the unit cpp file I used #pragma link "MimeDec" to load the library., but in V8 I am not able to find the cpp header file in the extracted Source folder, only the delphi version (OverbyteIcsMimeDec.pas). Is it still possible to use the old methods connected to MimeDecode v5 (Method 'DecodeFile', field 'CurrentData', etc.) in the new Embarcadero XE10.3 (with OverbyteIcs v8)? Or is it maybe possible to use v5 with XE10.3? Whenever I click on the unit file in the project tree, I get a message signaling that the TMimeDecode component couldn't be found. I even tried to add the OverbyteIcsMimeDec.pas file as well as further needed *.pas files, but still the same error is shown. Is there anything else I need to do? The delphi compiler did generate the appropriate *.hpp files in my Embarcadero directory, which I did include in my project. I did also add include "OverbyteIcsMimeDec" to my unit header file, but without success. I would really apprecaite some help regarding my efforts to implement MimeDecodc during the migration process.-
- embarcadero
- c++
-
(and 1 more)
Tagged with:
-
The IDE compiles my project, then I try to run the project.exe from the IDE and I got the following messages: But if run the compiled project.exe without the IDE in the explorer, it works What could be the problem in the IDE? I already reinstalled Delphi, but still not working. I checked the files in my directory and they are there, also checked the environment variables but everything seems fine