#1 2013-09-18 12:14:50

jonsafi
Member
Registered: 2011-07-26
Posts: 58

Client-server applications: small clarification needed...

Hello,

For those of us who are developing so-called basic
Windows client-server applications (using SQLite3) that are *not* Web applications,
I understand the way to go is still to use
the HTTP server (http.sys) for remote access.

If one does not want to use interfaces
and write the server application as a service, eg. using TServiceFactoryServer,
then we just use
TSQLite3HttpServer and TSQLite3HttpClient...

Now if I understood correctly, it still makes
sense to run the server console application as a service
for maximum flexibility, and this can be achieved using
CreateNewService,CreateOpenService?


With thanks for your comments,
Sami

Offline

#2 2013-09-18 12:59:34

mpv
Member
From: Ukraine
Registered: 2012-03-24
Posts: 1,549
Website

Re: Client-server applications: small clarification needed...

For last question - take a look to "Samples\10 - Background Http service" for example of how to implement server as Windows service

Offline

#3 2013-09-18 15:22:01

jonsafi
Member
Registered: 2011-07-26
Posts: 58

Re: Client-server applications: small clarification needed...

Yes, will do that, thanks. Just wanted to get 'the big picture' right.

Offline

Board footer

Powered by FluxBB