You are not logged in.
hello,
My program need TSQLHttpClient to execute server functions, and I
use TSQLDBSocketConnectionProperties to open query,
could TSQLHttpClient and TSQLDBSocketConnectionProperties
use the same port?
Model := TSQLModel.Create([], ROOT_NAME);
ClientA := TSQLHttpClient.Create('127.0.0.1', '8192', Model);
Client.ServerTimeStampSynchronize;
with
fClientB := TSQLDBSocketConnectionProperties.Create('127.0.0.1:8192', 'myserver', 'myusername', 'password');
Last edited by vga (2016-09-03 03:58:27)
Offline
thank you.
I did not get it work.
TSQLHttpClient to execute server functions, when return json datarows, how convert result to clientdataset?
Offline
Use mORMotVCL.pas unit.
See http://synopse.info/files/html/api-1.18/mORMotVCL.html
Do not forget to read the FAQ!
http://synopse.info/files/html/Synopse% … l#TITL_123
Online
thank you.
Offline