On 3/1/22 13:45, Jiří Činčura wrote:
Hi *,

Can somebody think of a way to detect whether fbclient supports isc_dpb_utf8_filename? 
For example when calling isc_create_database in .NET provider with "Embedded" I 
need to know whether I can use UTF8 in database path.

On Windows I can check version of the DLL and when version >= 2.5 I can assume 
I'm safe (What happens when I connect using 2.5 to older database?). But on Linux, 
etc. the binary has no such version info in header. Bummer.

from ibase.h:

/********************************/
/* Client information functions */
/********************************/

void ISC_EXPORT isc_get_client_version ( ISC_SCHAR  *);
int  ISC_EXPORT isc_get_client_major_version ();
int  ISC_EXPORT isc_get_client_minor_version ();




Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to