C++

Convert CSV file to TFDMemTable format JSON file.

Author: h.mohri Convert fromCSVfile to “JSONfile” of “TFDMemTable format”. This program usesC++Builder 10.2 Tokyo Release 1. include #include <iostream> #include <fstream> #include <string> #include <codecvt> #include <FireDAC.Comp.Client.hpp> #include <FireDAC.Stan.StorageJSON.hpp> #include…
Read more
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…
News

Implementing FANN (Fast Artificial Neural Network) to C++ Builder/Delphi Projects

Author: Yilmaz Yoru Would you like to make your applications learning and predicting applications (May be just thinking applications) ? In this blog post we gonna use open source Fast Artificial Neural Network Library made by Steffen Nissen. FANN Library is very simple to use and it has good documentation and written in C programming language which makes it faster. It is open source so you…
Read more
Delphi

Try Delphi on Amazon Linux.

Author: h.mohri I tried Delphi on Amazon Linux. Amazon Linux is Linux that exists only in the instance of EC2(AWS). “Free tier eligible” can be used. [Create an instance.] Select Amazon Linux from EC 2 and create a new instance. It is possible to connect…
C++

How to use Android Service(TAndroidService) in C++Builder

Author: h.mohri [Make a new project for Android service.] File→New→Other NewItems→Delphi Project→Android Service. After making the above selection, click OK. Select a “Local Service” and click OK. TDM class that inherits TAndroidService will be created. Place the TNotificationCenter. Create an OnStartCommand event and write the code. //// function…
Read more
News

FireDAC and Microsoft Azure SQL Database

I’ve started to get requests to use FireDAC with Cloud Databases, like SQL Azure. The question whether or not to put your business data in the cloud is getting easier and easier these days and a lot of that is thanks to Microsoft’s investment in Microsoft…
Delphi

Hello Delphi and VCL! Hello community!

Author: Bogdan Polak BSC Hello This is my first blog entry. I’d like focus here on software architecture in Delphi world. Why do Delphi developers need architectural patterns? Do they need it? In my opinion, they do not only need it, but they use it constantly. In my opinion, the question worth considering is: what patterns should we use and whether each pattern fits each project? I would like…
Read more