IBSecurityService and IBServerProperties set the ServerType to work.
How can I be informed under which type of Server is running my app ?
Thanks
Adalberto Baldini
Adalberto Baldini wrote:
> How can I be informed under which type of Server is running my app ?
There is only one "type" of InterBase server. It is an InterBase server.
Do you mean version instead of type? Do you mean additional licenses? Do
you mean the OS? Do you mean edition (Server, Desktop, Trial, Developer,
ToGo)?
Adalberto Baldini wrote:
> IBSecurityService and IBServerProperties set the ServerType to work.
> How can I be informed under which type of Server is running my app ?
>
> Thanks
> Adalberto Baldini
ServerType determines the Dll to be loaded. IBServer tells the app to load
gdss32.dll (or the x64/OSX equivalent), IBEmbedded tells it to load the IBToGo
dll. Under mobile both are equivalent in function - they statically link in the
ToGo/IBLite code (which has no problems jsut acting as a normal client).
--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
And so I patrol in the valley of the shadow of the tricolor
I must fear evil. For I am but mortal and mortals can only die.
Asking questions, pleading answers from the nameless
faceless watchers that stalk the carpeted corridors of Whitehall.
(Fish)
In TIBSecurityService there is the propertiy SERVERTYPE that has 2 options
IBServer, IBEmbedded
I thought it was relevant to set this property to let component to work
properly.
As per Jeff answer I understand that this choice is automatically done by
Interbase and it is not necessary to set it.
Right ?
Adalberto
"quinn wildman" ha scritto nel messaggio
news:666418@forums.embarcadero.com...
Adalberto Baldini wrote:
> How can I be informed under which type of Server is running my app ?
There is only one "type" of InterBase server. It is an InterBase server.
Do you mean version instead of type? Do you mean additional licenses? Do
you mean the OS? Do you mean edition (Server, Desktop, Trial, Developer,
ToGo)?
Adalberto Baldini wrote:
> In TIBSecurityService there is the propertiy SERVERTYPE that has 2 options
> IBServer, IBEmbedded
> I thought it was relevant to set this property to let component to work
> properly.
> As per Jeff answer I understand that this choice is automatically done by
> Interbase and it is not necessary to set it.
> Right ?
>
> Adalberto
>
It is relevant to whether you are connecting to a traditional Server or using
IBToGo (the embedded version). It you are talking the mobile versions, you can
set it to either, they both map to the statically linked in version that can act
both as a IBToGo db or as a client for a traditional server.
OS | IBServer | IBToGo
-----------------------------------------
Win32 | gds32.dll | ibtogo.dll
Win64 | ibclient64.dll | ibtogo64.dll
MacOS | libgds.dynlib | libibtogo.dynlib
iOSimulator | libibtogo.dylib | libibtogo.dylib
iOS | Static link | Static link
Android | Static link | Static link
It was done this way instead of you defining the DLL because this way you make
zero changes to recompile to a different platform. IBServer always means use
the traditional client library for a C/S setup. IBEmbedded always means link
the IBToGo dll no matter what the platform.
--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
And so I patrol in the valley of the shadow of the tricolor
I must fear evil. For I am but mortal and mortals can only die.
Asking questions, pleading answers from the nameless
faceless watchers that stalk the carpeted corridors of Whitehall.
(Fish)