Author: h.mohri
I tried a program that reads a JSON file in C++Builder VCL and displays it in TTreeView component.
This project file is open to public from github.
github.com/mojeld
https://www.microsoft.com/store/productid/9PLPHK05PJF7
Place two TSpeedButton…
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 with SSH in…
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…
Author: h.mohri
At this point, Instant Client configuration is complete.
Finally, “./PAServer-19.0/paserver” is started up and ready.
[Create a new project.]
In Delphi IDE side, create a new project. Web Server Application, check Linux.
I chose “stand-alone…
Author: h.mohri
First declare with Pascal to use the converter and generics.
////
unit Unit2;
interface
uses
System.JSON.Converters, System.JSON.Serializers, System.Generics.Collections;
type
TListString = TList<String>;
TDictionaryStrStr =…
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"…
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>…
Author: John D7279
////
class function ExcelToJson(cells: TRect; excel_filename, sheet_name: String):TJSONObject;
It is a code for excel to JSON.
////
class function TExcelToFireDAC.ExcelToJson(cells: TRect; excel_filename, sheet_name: String): TJSONObject;
const
…