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 <iOSapi.MediaPlayer.hpp> #include <iOSapi.UIKit.hpp> Form design Arrange “Up” and “Down” two TButton. Use this button to control the volume. Add MPVolumeView to…
Read more
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 withstd::unique_lock<std::mutex>. I thought of the following specifications.As shown in the figure, create multiple threads.All threads are in Wait state.Then let…
Read more
C++

Mixing Delphi and C++

Author: NatSam Would you like to add C++ to your Delphi application? Or add Delphi code to your C++ application? Here’s how. One thing you might not know is how closely integrated the C++ and Delphi languages are in RAD Studio. You can compile a single application in a single project to a single EXE, mixing both languages. (And of course you can do so using DLLsor packages as well.) If…
Read more
C++

C++ Boot Camp Complete Replay

The complete replays for the C++ Boot Camp are available online, including downloads, slides and the Q&A log. A wealth of information for C++Builder. Content for each day . . . Day 1 –Building your first application with C++Builder Day 2 –Creating fast responsive user interfaces with animations and effects Day 3 –C++11 language deep dive, and online chat…
Read more