detect client library version

View: New views
3 Messages — Rating Filter:   Alert me  

detect client library version

by Cosmin Apreutesei :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Is there any way at runtime to detect the version of the client library? I need to distinguish between API version 2.1 and 2.5 and I cannot use FB_API_VER define because my binding is not C, so I need a runtime solution. I tried isc_get_client_version() but it returns v6.3 with both 2.1 and 2.5 libraries.

Thanks,
Cosmin.

PS: Sorry for posting to the dev list but I figure the question is obscure enough to warrant the attention of the devs. If that's not the case, I apologize.



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel

Re: detect client library version

by Dimitry Sibiryakov-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Is there any way at runtime to detect the version of the client library?
> I need to distinguish between API version 2.1 and 2.5 and I cannot
> use FB_API_VER define because my binding is not C, so I need a runtime
> solution.

   There is no differences in API between 2.1 and 2.5.

   SY, SD.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel

Re: detect client library version

by Vlad Khorsun-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>> Is there any way at runtime to detect the version of the client library?

    Why do yo need it ?

>> I need to distinguish between API version 2.1 and 2.5 and I cannot
>> use FB_API_VER define because my binding is not C, so I need a runtime
>> solution.

    On Windows you can use GetFileVersionInfo
 
>   There is no differences in API between 2.1 and 2.5.

    Not true. 2.5 have new API functions.

Regards,
Vlad


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel