You are not logged in.
I wonder whether there can be multiple (TSQLRestClientDB, TSQLRestServerDB, defined in mORMotSQLite3) pairs in one .exe application ?
The reason to ask is that there are two units and I would like to have a (TSQLRestClientDB, TSQLRestServerDB, defined in mORMotSQLite3) pair dedicated for each unit. However, there is a global variable "GlobalURIRequestServer" defined in mORMot, which makes me wonder if it is theoretically possible to have multiple (TSQLRestClientDB, TSQLRestServerDB, defined in mORMotSQLite3) pairs in one .exe application
Last edited by ComingNine (2014-06-13 12:13:05)
Offline
GlobalURIRequestServer is only for function URIRequest() which is for .dll hosted server.
So you can have several TSQLRestClientDB, TSQLRestServerDB instances in the same exe.
Offline
Many thanks for your helpful answer !
Offline