Mega Search
23.2 Million


Sign Up

Make a donation  
ServerType how get current version running  
News Group: embarcadero.public.delphi.database.interbase_express

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

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 7-Apr-2014, at 11:40 PM EST
From: Adalberto Baldini
 
Re: ServerType how get current version running  
News Group: embarcadero.public.delphi.database.interbase_express
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)?

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 8-Apr-2014, at 8:02 AM EST
From: quinn wildman
 
Re: ServerType how get current version running  
News Group: embarcadero.public.delphi.database.interbase_express
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)

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 8-Apr-2014, at 9:21 AM EST
From: Jeff Overcash (TeamB)
 
Re: ServerType how get current version running  
News Group: embarcadero.public.delphi.database.interbase_express
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)?

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 14-Apr-2014, at 10:46 PM EST
From: Adalberto Baldini
 
Re: ServerType how get current version running  
News Group: embarcadero.public.delphi.database.interbase_express
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)

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 15-Apr-2014, at 9:47 AM EST
From: Jeff Overcash (TeamB)