C++

Use the DLL created by Visual C++2017 with C++Builder(Win64).

Author: h.mohri Made a DLL with Visual C++. And I tried to use it in C++Builder. Common is 64 bits. First I will make a VC++ side DLL. //// extern "C" CONSOLEAPPLICATION1_API int test1(int i1) { ///This function only increments. ++i1; return i1; } extern "C" CONSOLEAPPLICATION1_API void test2(int i1, wchar_t* a) { ///Convert from int to wstring. std::wstring s{}; s =…
Read more
C++

How to make RESTful WebBroker using C++Builder

Author: Andrea L59044   I used FireDAC because I wanted to make a DB connection to MySQL DB. Resource and suffix can be obtained with Request->PathInfo. So decompose PathInfo into std::vector<UnicodeString> and put it in. //// std::vector<UnicodeString>…
C++

Custom buttons and the integrated Style Designer

Author: Jorge Batista With the integrated Style Designer in RAD Studio Berlin, you can quickly create custom image buttons. For creating entire multi-device styles from scratch, we recommend you use the Bitmap Style Designer, available via the Tools menu. Create a new…
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…
C++

Changing the color scheme of an Android style

Author: Felipe X60228 In this post, we’ll show you how to use the Bitmap-style designer to change the color scheme of an Android-style you’ve created in IDE Software. Step 1: Select one of the Style Templates Open the Bitmap Style Designer via the Tools menu in the…