#1 2012-01-22 22:32:28

array81
Member
From: Italy
Registered: 2010-07-23
Posts: 411

Some information about Windows compatibily

Before you ask the question I have to summarize my situation. My application can work as standalone or by lan (client/server), in this last case the application can works as client or as server.

This is the code to run the server:

var
  Server: TSQLite3HttpServer;
  DatabaseServer: TSQLRestServerDB;
...
    Database := TSQLRestClientDB.Create(Model, nil, Filename, TSQLRestServerDB);
    DatabaseServer := TSQLRestClientDB(Database).Server;
    DatabaseServer.CreateMissingTables(0);
    DatabaseServer.OnUpdateEvent := DatabaseAggiornatoEvento;
    Server := TSQLite3HttpServer.Create(IntToStr(Port), DatabaseServer);
...

this is the code to run the client:

var
  Database: TSQLRestClientURI;
...
    Database := TSQLite3HttpClient.Create(Server, IntToStr(Port), Model);
...

When I run the application as server or as standalone I run only the first piece of code. When I run the application as client I run the second piece of code.

The question: I'd like know the if these code have some limit about Windows version. I have read the documentation and I have understand this:
1) If my application run as client/server on LAN need Windows XP, Vista or 7;
2) If my application run as standalone can run also on old Windows version;

Is it right?

Offline

#2 2012-01-23 06:18:03

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,667
Website

Re: Some information about Windows compatibily

You can make your application run on Windows versions older than Windows XP over the LAN, if you select the right components.

The Server can run even before Windows XP. TSQLite3HttpServer won't use the http.sys server, but will switch automatically to the Winsock-based server, which works on every Windows version.
But I would not recommend using Windows 2k as a server nowadays... pretty deprecated.

The Client will need at least XP if you want to use default TSQLite3HttpClient class, which is in fact TSQLite3HttpClientWinHTTP.
But older Windows versions should be able to run via the slow TSQLite3HttpClientWinINet or the more direct TSQLite3HttpClientWinSock.

Offline

Board footer

Powered by FluxBB