Re: detect client library version

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

Re: detect client library version

by Cosmin Apreutesei :: 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 ?

For my Lua binding I'm about to finish soon - I want to support both
2.1 and 2.5 versions of fbclient. No biggie though, I'll just ignore
failing to bind fb_sqlstate() and whatever else is new.

> On Windows you can use GetFileVersionInfo

I use libffi which doesn't have this stuff probably because it's not a
cross-platform solution.

Thanks for answering,
Cosmin.

------------------------------------------------------------------------------
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