C++

C-To-Delphi Converter Tool Can Quickly And Easily Help You Convert Standard C Code To Delphi

Developer Wouter Van Nifterick has a C-To-Delphi converter tool available over on GitHub under an MIT open source license. The tool contains a split view where you can write standard C code on the left side of the split view and it will show you translated code in Object Pascal (Delphi) on the right side of the split view. The DelphiAST library is used to perform syntax checking on the Delphi code…
Read more
C++

How to enqueue TQueue from TTask with bcc32

Author: h.mohri When considering migration from old C++Builder 10.2 Tokyo bcc32 project.You can use functions such as TThread::CreateAnonymousThread() and TTask to improve performance.In addition to TCriticalSection, you can also use System.TMonitor which supports…
C++

Get Started with RAD Studio 10.2.1 using Sample Projects

  Guided Tour The Guided Tour is a step-by-step bubble pop-up tour that shows you how to build your first multi-device FireMonkey application using the FireUI Designer. Following the steps in the tour is a good starting point for anyone new to the FireMonkey framework. You…
C++

How to control "the system audio volume" of iOS

Author: h.mohri Use C++Builder 10.2 to control audio volume of iOS. I used the MPVolumeView class of iOS. The MPVolumeView class is declared in “iOSapi.MediaPlayer.hpp”. Include two files. #include #include Form design Arrange “Up” and “Down”…
C++

C++ Builder Header Dependencies

Why should you care about header dependencies in C++?  One reason is header dependencies can have an impact on building, refactoring, testing and on the structure of your software. And reducing header dependencies in C++ also reduces compile time dependencies – the…
C++

Try condition_variable using C++Builder(C++11).

Author: h.mohri std::condition_variable is a class for waiting for thread execution until the condition is satisfied.Used in combination with std::mutex. I tried the wait() function in std::condition_variable.This is combined with std::unique_lock. I thought of the…