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++

Use the Excel.Application in C++Builder(bcc64)[JAPAN]

Author: Pixelot12345 How to use the Excel.Application in C++Builder. Target device is Win64. Use the ComObj, call in CreateOleObject (“Excel.Application”). Including ComObj is required. In C++Builder it is below. //// #include "System.Win.ComObj.hpp" Import from CSV file to Excel file. //// constexpr wchar_t const def_filename[] =…
Read more
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 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++

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…